Bug Tracker

Opened 14 years ago

Closed 12 years ago

#4041 closed bug (worksforme)

Some selectors with meta-characters fail in jQuery 1.3.1

Reported by: shawphy Owned by: john
Priority: major Milestone: 1.3.2
Component: selector Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:


In jQuery 1.3.1,elements with these 7 characters fail to match:

~ ( + [ \ > ,

test case: http://shawphy.com/demo/selector/jQuery-1-3-1-selector-test.html

Change History (2)

comment:1 Changed 14 years ago by shawphy

According to the doc: http://docs.jquery.com/Traversing/is "If no element fits, or the expression is not valid, then the response will be 'false'." But in this case, I have to use "try catch" because of the error. Maybe an another bug?

comment:2 Changed 12 years ago by dmethvin

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