Try:
$("[EMAIL PROTECTED]")[0].multiple = false;
You need to actually reference the actual DOM object, not the jQuery array
of objects that gets returned.
Thanks a lot for your help!
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?