Opened 10 years ago
Closed 10 years ago
#13662 closed bug (notabug)
$(BadSecLI).length throws an exception if BadSecLI is "# LI"
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.0b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When attempting to see if an element exists if you're passing a hash mark followed by a space jquery throws an exception.
Test example available on: http://jsfiddle.net/sWNt8/
Tested on versions 2.0b1, 1.9.1
Thanks Mike B
Note: See
TracTickets for help on using
tickets.
http://jsfiddle.net/sWNt8/1/