Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13662 closed bug (notabug)

$(BadSecLI).length throws an exception if BadSecLI is "# LI"

Reported by: barlowm@… 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

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.