how i automobile filter html selectlist?


i have html name list definitely few (1000+) names. i have javascript place name initial relating name someone starts typing. relating looks during start item:



var optionslength = dropdownlist.options.length;
(var n=0; n < optionslength; n++)
{
var optiontext = dropdownlist.options[n].text;
(optiontext.indexof(dropdownlist.keypressbuffer,0) == 0)
{
dropdownlist.selectedindex = n;
relapse false;
}
}


the fan have advise autofilter: typing biased name should 'find' names containing part. i've seen few google advise options, many controlling ajax, nonetheless i'd pristine javascript option, given name list already hallowed anyway. pointers anyone?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?