Side navigation
#13368 closed bug (duplicate)
Opened February 01, 2013 09:25AM UTC
Closed February 01, 2013 01:49PM UTC
Creating jQuery instance with leading white space fails
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Here is a sample for the use case:
http://jsbin.com/ecarub/2/edit
If you remove the leading white space in the DIV#foo or in the commented JavaScript it will work properly.
It will also work properly with jQuery version 1.8.*.
P.S. I've tried the git version of jQuery. Unfortunately same behavior can be observed.
Attachments (0)
Change History (1)
Changed February 01, 2013 01:49PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #13223.http://jquery.com/upgrade-guide/1.9/#jquery-htmlstring-versus-jquery-selectorstring
Also, please use the jQuery migrate plugin to check for other such issues.