Joined: Oct 27, 2009
Yes I use that .In fact I have 4 select tags.But it's just not listening the first item and works fine with the rest of items!
Pradeep Adibatla wrote:Yes I use that ....it's just not listening the first item....
Eric Pascarello wrote:The onchange event does NOT fire when the option does NOT change.
Use onblur or add a default option to the top of the list that says pick, choice, select, etc.
..Or stop using them. The SELECT element, when used for selecting single items, is one of the worst HTML controls, in my opinion. A autocomplete widget is much better and you can populate them both locally or using ajax to grab the data from the server. Much better user experience, as far as I'm concerned. (Yes Eric, I'm aware that the HTML SELECT tag is probably more accessibility friendly).