Side navigation
#5389 closed bug (invalid)
Opened October 16, 2009 07:38PM UTC
Closed June 13, 2010 06:02PM UTC
Wrong return for select type=
Reported by: | mattprokes | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3.2 |
Component: | core | Version: | 1.3.2 |
Keywords: | select bug | Cc: | |
Blocked by: | Blocking: |
Description
Punch this into a firefox, and ie6 js console please.
$.isArray($('<select type="pants"><option value="x">x</option><option value="y">y</option></select>').val())
FF = false
IE6 = true
After much research, the problem lies with the select type having a set value. I am not sure if this problem happens in other ie browsers.
~matt
What is the doctype of your document? There is no
attribute in HTML4 at least:http://www.w3.org/TR/html401/interact/forms.html#h-17.6