[thelist] Multi dynamic select boxes and IE

Richard Livsey richard at livsey.org
Wed Jan 5 09:28:10 CST 2005


Peter-Paul Koch wrote:

> Apparently IE Windows only recognizes the multiple attribute
>
>onFocus(), which, as far as I'm concerned, is a bug. The solution is
>therefore to place the focus on the select box automatically:
>
>form.appendChild(select);
>select.focus();
>
>After that you might put the focus on the first, normal, select.
>  
>
Just to reply again, I got this method working too which is much more 
elegant than the timeout!

Seems it didn't work originally as I still had a multiple=true before 
the focus, and it ignored the one after I focused.

Thanks for the help.

-- 
R.Livsey
www.livsey.org



More information about the thelist mailing list