Opened 14 years ago
Closed 14 years ago
#3456 closed bug (wontfix)
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
Note: See
TracTickets for help on using
tickets.
Slashes are not a valid part of ids.
http://www.w3.org/TR/html4/types.html#type-id