Modify ↓
Ticket #3669 (closed bug: invalid)
IE doesn't support [@href=#]
| Reported by: | captain_torche | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.3 |
| Component: | selector | Version: | 1.2.6 |
| Keywords: | Cc: | captain_torche | |
| Blocking: | Blocked by: |
Description
I'm trying to make something on all links that have a sharp in their href. I tried ('a[@href=#]'), which works on Firefox and Chrome, but not in IE (event if I replace the sharp with another string).
Something like ('a[@class=test]') will work great, though.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

ONLY a sharp:
$('a[href$=#]') or $('a[hash=#]')A sharp with more text optionally
$('a[href*=#]') or $('a[hash]')