Bug Tracker

Opened 12 years ago

Closed 12 years ago

#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
Blocked by: Blocking:

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 (1)

comment:1 Changed 12 years ago by flesler

Cc: captain_torche added
Resolution: invalid
Status: newclosed

ONLY a sharp:

   $('a[href$=#]') 
or
   $('a[hash=#]') 

A sharp with more text optionally

   $('a[href*=#]') 
or
   $('a[hash]') 
Note: See TracTickets for help on using tickets.