Fog Creek Software
Discussion Board




Javascript & selectbox

I cannot find the thread with the example of a selectbox going to the 'Hes' instead of the s's when that is typed when the select box has the focus.  Anyone have this JS reference

Christopher Hester
Monday, December 08, 2003

The behavior you're describing (incremental search in a list box) is a function of the listbox implementation. I don't think you can override it using Javascript.

On Windows, only listboxes marked with the "sorted" attribute get incremental search. IE's listboxes are never marked as "sorted" that I'm aware of, hence, no incremental search.

Brad Wilson (dotnetguy.techieswithcats.com)
Tuesday, December 09, 2003

*  Recent Topics

*  Fog Creek Home