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/