Skip to main content

Bug Tracker

Side navigation

#10072 closed bug (wontfix)

Opened August 17, 2011 01:09PM UTC

Closed August 17, 2011 05:26PM UTC

Last modified August 26, 2011 01:35AM UTC

creating new dom element(FORM) in ie6-8

Reported by: alukin@webdevs.com 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">');

Attachments (0)
Change History (2)

Changed August 17, 2011 05:26PM UTC by rwaldron comment:1

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.

Changed August 26, 2011 01:35AM UTC by dmethvin comment:2

milestone: 1.6.3