Side navigation
#13591 closed bug (duplicate)
Opened March 11, 2013 07:06AM UTC
Closed March 11, 2013 01:39PM UTC
jQuery >= 1.9 is incapable of handling strings as objects
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.0b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Works:
e=$('<div id="error_explanation"></div>'); alert(e);
Works in 1.8.3, fails in 1.9.0, 1.9.1 and 2.0.0b1:
e=$(' <div id="error_explanation"></div>'); alert(e);
(Note the space before the <div)
A very simple fiddle