Opened 13 years ago
Closed 13 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>
Note: See
TracTickets for help on using
tickets.
An underscore is not the same as a hyphen.
http://api.jquery.com/attribute-contains-prefix-selector/