Skip to main content

Bug Tracker

Side navigation

#3456 closed bug (wontfix)

Opened October 07, 2008 07:07AM UTC

Closed October 07, 2008 02:06PM UTC

jquery does not recognise ids with forward slash in attribute

Reported by: tyler45 Owned by: flesler
Priority: minor Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

setting up a clickable calendar with dates in 12/10/2008 format, e.g.

<td id="12/10/2008">12</td>

var date = 12/10/2008;

$('#' + date) does not select the id.

document.getElementById(date) does work

Attachments (0)
Change History (1)

Changed October 07, 2008 02:06PM UTC by flesler comment:1

resolution: → wontfix
status: newclosed

Slashes are not a valid part of ids.

http://www.w3.org/TR/html4/types.html#type-id