Opened 13 years ago
Closed 13 years ago
#5389 closed bug (invalid)
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
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Component: | unfiled → core |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Please reopen with additional information.
Note: See
TracTickets for help on using
tickets.
What is the doctype of your document? There is no
type
attribute in HTML4 at least:http://www.w3.org/TR/html401/interact/forms.html#h-17.6