I have used jQuery Tokenize API to implement multi select drop down.Using java script i have customized <option> tag like a template.The created multi select drop down list looks like following image.My requirement is that i have a text box it act as a filter.when i type search text as java my drop down should only load items language=Java.Please let me know is it possible to do it in front end or should i populate data that matching the search text from back end.This question is not a duplicate because in my current implementation i can search items but using <option> val and text.but in my requirement i modify option into template and bind it with drop down.So i want to search text from template.if text within template whole item template should visible in drop down.
One item in option tag
<ul>
<li>id:1</li>
<li>language:Java</li>
<li>edition:second</li>
<ul/>
Sample Json
{
"book": [
{
"id":"01",
"language": "Java",
"edition": "third",
"author": "Herbert Schildt"
},
{
"id":"07",
"language": "C++",
"edition": "second",
"author": "E.Balagurusamy"
},
{
"id":"08",
"language": "Java",
"edition": "second",
"author": "Gihan"
}
]
}
