Skip to main content

Bug Tracker

Side navigation

#7076 closed bug (invalid)

Opened September 24, 2010 02:37PM UTC

Closed September 24, 2010 04:21PM UTC

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>

Attachments (0)
Change History (1)

Changed September 24, 2010 04:21PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

An underscore is not the same as a hyphen.

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