[thelist] Help with Firefox select box oddity

Stephane Deschamps stephane.deschamps at gmail.com
Mon Jul 18 05:51:15 CDT 2005

On 7/15/05, Matt Warden <mwarden at gmail.com> wrote:
> On 7/15/05, Christian Heilmann <codepo8 at gmail.com> wrote:
> > I have a very confusing issue with firefox and dynamic setting of indexes:
> > http://icant.co.uk/sandbox/misc/selectodd.html
> >
> > Anyone got a clue how to prevent that from happening?
> Yes, that is odd. Have you tried s.options[s.selectedIndex].focus() ?

Or, conversely, changing the focus to the JS link itself?
(I'm not sure you can pu the focus on a selected index rather than the
select itself, Matt, although I must admit I haven't tried it)

Stephane Deschamps
personal: http://nota-bene.org/
org: http://evolt.org/
french org: http://pompage.net/

More information about the thelist mailing list