Bug Tracker

Modify

Ticket #10072 (closed bug: wontfix)

Opened 21 months ago

Last modified 21 months ago

creating new dom element(FORM) in ie6-8

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

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

comment:1 Changed 21 months ago by rwaldron

  • Priority changed from undecided to low
  • Resolution set to wontfix
  • Status changed from new to closed
  • Component changed from unfiled to core
  • Milestone changed from None to 1.6.3

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 21 months ago by dmethvin

  • Milestone 1.6.3 deleted

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.