Opened 10 years ago
Closed 10 years ago
#13296 closed bug (duplicate)
Cannot create DOM Element from string
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
How to reproduce: var form = $(" <form class="bbf-form"><b class="bbf-tmp"></b></form> ");
Result: Exception with description: "Syntax error, unrecognized expression: <form class="bbf-form"><b class="bbf-tmp"></b></form>"
Seems 'rquickExpr' is not correct.
Note: See
TracTickets for help on using
tickets.
Duplicate of #13223.
http://jquery.com/upgrade-guide/1.9/#jquery-htmlstring-versus-jquery-selectorstring
Also, be sure to use the jQuery Migrate plugin to check for issues.