Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9845 closed feature (worksforme)

jQuery("a[rel=/Bangla]") not working in 1.6.2

Reported by: nazmul@… Owned by: nazmul@…
Priority: low Milestone: 1.next
Component: selector Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

I've tried to use jQuery("a[rel=/Bangla]") in my page and it shows an error Error: uncaught exception: Syntax error, unrecognized expression: [rel=/Bangla]. It works fine in 1.4.2. Please help me on this.

Change History (2)

comment:1 Changed 8 years ago by Rick Waldron

Component: unfiledselector
Owner: set to nazmul@…
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, I've created this boilerplate: http://jsfiddle.net/rwaldron/da3nM/ Open the link and click to "Fork" in the top menu.

comment:2 Changed 8 years ago by Rick Waldron

Priority: undecidedlow
Resolution: worksforme
Status: pendingclosed

The docs say that all attribute selectors should have their value quoted: http://jsfiddle.net/rwaldron/Sndnc/

Note: See TracTickets for help on using tickets.