Modify ↓
Ticket #5241 (closed bug: worksforme)
Periods and colons in jQuery id selectors
| Reported by: | maros | Owned by: | john |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | selector | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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>
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Special characters must be escaped with \\.