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
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">');
Older browsers will treat this, as invalid HTML
This is only allowed by modern browsers because they are parsing HTML with modern rules.