Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#10072 closed bug (wontfix)

creating new dom element(FORM) in ie6-8

Reported by: alukin@… Owned by:
Priority: low Milestone:
Component: core Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

http://jsfiddle.net/eZqPX/8/

When I create form like this:

var f4 = $('<form>');

it works fine, also like this:

var f3 = $('<form id="feedback_form" method="post" />');

or this:

var f1 = $('<form id="feedback_form" method="post">test1</form>');

but this case return null in IE6-8 (in IE9 and modern browsers all fine)

var f2 = $('<form id="feedback_form" method="post">');

Change History (2)

comment:1 Changed 8 years ago by Rick Waldron

Component: unfiledcore
Milestone: None1.6.3
Priority: undecidedlow
Resolution: wontfix
Status: newclosed

Older browsers will treat this, as invalid HTML

var f2 = $('<form id="feedback_form" method="post">');

This is only allowed by modern browsers because they are parsing HTML with modern rules.

comment:2 Changed 8 years ago by dmethvin

Milestone: 1.6.3
Note: See TracTickets for help on using tickets.