[jQuery] Multiple-select-box: set multiple to false

[jQuery] Multiple-select-box: set multiple to false


I'm trying to set a multiple-select-box to multiple=false, but neither
$("select[@name=field4]").multiple = false;
nor
$("select[@name=field4]").attr('multiple','');
nor
$("select[@name=field4]").attr('multiple','false');
nor
$("select[@name=field4]").removeAttr('multiple');
works.
Has anybody an idea?
--
View this message in context: http://www.nabble.com/Multiple-select-box%3A-set-multiple-to-false-tf4030118s15494.html#a11447655
Sent from the JQuery mailing list archive at Nabble.com.