Bug Tracker

Opened 9 years ago

Closed 9 years ago

#7076 closed bug (invalid)

a[hreflang|=en] and hreflang="en_UK" doesnt work

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

Description

<a href="example.html" hreflang="en">Some text</a> <a href="example.html" hreflang="en_UK">Some other text</a>

<script>$('a[hreflang|=en]').css('border','3px dotted green');</script>

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

An underscore is not the same as a hyphen.

http://api.jquery.com/attribute-contains-prefix-selector/

Note: See TracTickets for help on using tickets.