Skip to main content

Bug Tracker

Side navigation

#5241 closed bug (worksforme)

Opened September 15, 2009 06:38PM UTC

Closed October 03, 2009 12:55AM UTC

Last modified March 10, 2012 07:35AM UTC

Periods and colons in jQuery id selectors

Reported by: maros Owned by: john
Priority: low Milestone:
Component: selector Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

Dots and colons in jQuery selectors don't seem to work, although they are allowed by the W3C specification.

does not work

$('#element.1224')

<span id="element.1224"></span>

works

$('#element_1224')

<span id="element_1224"></span>

Attachments (0)
Change History (4)

Changed October 03, 2009 12:55AM UTC by dmethvin comment:1

resolution: → worksforme
status: newclosed

Special characters must be escaped with

\\\\
.

Changed February 23, 2011 11:49AM UTC by jitter comment:2

priority: majorlow

Changed February 23, 2011 11:50AM UTC by jitter comment:3

#8361 is a duplicate of this ticket.

Changed May 27, 2011 04:08PM UTC by rwaldron comment:4

#9439 is a duplicate of this ticket.