Skip to main content

Bug Tracker

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: Owned by:
Priority: low Milestone: None
Component: selector Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

$('#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 sindresorhus comment:1

component: unfiledselector
priority: undecidedlow
resolution: → invalid
status: newclosed

ID's aren't allowed to start with a number: