Skip to main content

Bug Tracker

Side navigation

#13296 closed bug (duplicate)

Opened January 22, 2013 09:04AM UTC

Closed January 22, 2013 01:10PM UTC

Cannot create DOM Element from string

Reported by: uriiniix@gmail.com 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.

Attachments (0)
Change History (1)

Changed January 22, 2013 01:10PM UTC by gibson042 comment:1

resolution: → duplicate
status: newclosed

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.