Skip to main content

Bug Tracker

Side navigation

#9845 closed feature (worksforme)

Opened July 16, 2011 07:40PM UTC

Closed July 16, 2011 08:42PM UTC

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

Reported by: Owned by:
Priority: low Milestone:
Component: selector Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

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.

Attachments (0)
Change History (2)

Changed July 16, 2011 08:39PM UTC by rwaldron comment:1

component: unfiledselector
owner: →
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: Open the link and click to "Fork" in the top menu.

Changed July 16, 2011 08:42PM UTC by rwaldron comment:2

priority: undecidedlow
resolution: → worksforme
status: pendingclosed

The docs say that all attribute selectors should have their value quoted: