Bug Tracker

Modify

Ticket #5389 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 4 years ago by dmethvin

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

comment:2 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from unfiled to core

Please reopen with additional information.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.