[Webkit-unassigned] [Bug 76389] Form select option not de-selecting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 16 13:14:29 PST 2012


--- Comment #5 from buy12 at netcasters.com  2012-01-16 13:14:29 PST ---
I figure this is related...

<!-- single selection -->
<select name="user" size="20">
alert(select.getAttribute('multiple')) // null

<!-- multiple selection -->
<select name="user" size="20" multiple>
alert(select.getAttribute('multiple')) // ''

There doesn't appear to be a way of using 'blank' and null to switch the select element from behaving like a multiple select element to a single select element.

I would think that, select.setAttribute('multiple',null) would change the multiple select list to a single select list, but that's not working for me.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list