Side navigation
#10968 closed bug (invalid)
Opened December 07, 2011 08:32AM UTC
Closed December 07, 2011 08:49AM UTC
:hover not working on selector starting with a number
Reported by: | guillaume@haploid.fr | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$('#30foo:hover') is throwing an error : "Syntax error, unrecognized expression: hover"
whereas $('#30foo').filter(':hover') is working.
this also bug for $('#12') or any other digit.
Attachments (0)
Change History (1)
Changed December 07, 2011 08:49AM UTC by comment:1
component: | unfiled → selector |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
ID's aren't allowed to start with a number:
http://mathiasbynens.be/notes/html5-id-class