[thelist] Multi dynamic select boxes and IE

Andrew Clover and-evolt at doxdesk.com
Wed Jan 5 08:41:19 CST 2005


Richard Livsey <richard at livsey.org> wrote:

> Anyone any ideas on why it's doing this, and am I missing something that 
> IE needs to display it as a multi select box from the get go?

Well, that's a wacky one you've found. Well done!

The trick is: IE will only allow a select element to be mutated between 
select-one and select-many when the element is actually on the page. Add 
the element to the document tree *before* writing to the multiple 
property and it works fine.

-- 
Andrew Clover
mailto:and at doxdesk.com
http://www.doxdesk.com/


More information about the thelist mailing list