Opened 12 years ago
Closed 12 years ago
#9845 closed feature (worksforme)
jQuery("a[rel=/Bangla]") not working in 1.6.2
Reported by: | Owned by: | ||
---|---|---|---|
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 12 years ago by
Component: | unfiled → selector |
---|---|
Owner: | set to [email protected]… |
Status: | new → pending |
comment:2 Changed 12 years ago by
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/
Note: See
TracTickets for help on using
tickets.
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.