>I just wanted to reply that wouldn't work either but there was another >problem: >When I'm hiding some elements of the form BEFORE I set multiple to >false, it doesn't work: > $("#field2").hide(); > $("#field3").hide(); > $("#field6").hide(); > $("[EMAIL PROTECTED]")[0].multiple = false; > >Like this it works: > $("[EMAIL PROTECTED]")[0].multiple = false; > $("#field2").hide(); > $("#field3").hide(); > $("#field6").hide(); > >Why that?
Are you sure you're not getting an error somewhere in the execution path? I've never tried toggling a select element between a multiple select and a single select. Quite frankly, this just feels "wrong". Is there a reason you're doing this? -Dan