Side navigation
#12691 closed bug (notabug)
Opened October 10, 2012 07:59AM UTC
Closed October 10, 2012 01:30PM UTC
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:massimo.biancalani@gmail.com">email</a>
$('a[href^=mailto:]') return null
$('a[href^=mailto]') return the <a>
Instead in version v1.3.2 it worked
Attachments (0)
Change History (1)
Changed October 10, 2012 01:30PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
You should quote any attribute value that contains special characters, e.g.
'a[href="mailto:"]'