Opened 10 years ago
Closed 10 years ago
#12691 closed bug (notabug)
Attribute Starts With Selector
Reported by: | biancama | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
if the string contains ':' the selector doesn't return null For example <a href="mailto:[email protected]…">email</a>
$('a[href=mailto:]') return null $('a[href=mailto]') return the <a>
Instead in version v1.3.2 it worked
Note: See
TracTickets for help on using
tickets.
You should quote any attribute value that contains special characters, e.g.
'a[href="mailto:"]'