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: | nazmul@4axiz.com | Owned by: | nazmul@4axiz.com |
---|---|---|---|
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.
Attachments (0)
Change History (2)
Changed July 16, 2011 08:39PM UTC by comment:1
component: | unfiled → selector |
---|---|
owner: | → nazmul@4axiz.com |
status: | new → pending |
Changed July 16, 2011 08:42PM UTC by comment:2
priority: | undecided → low |
---|---|
resolution: | → worksforme |
status: | pending → closed |
The docs say that all attribute selectors should have their value quoted: http://jsfiddle.net/rwaldron/Sndnc/
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.