Modify ↓
Ticket #1390 (closed bug: worksforme)
Problem with ID reference if ID has period
| Reported by: | mdmadph | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1.4 |
| Component: | core | Version: | 1.1.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Example:
I have an image with the id of "img1.1".
I cannot reference this image with $("#img1.1"), but document.getElementById("img1.1") works. Am I missing something?
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.

Is it something to do with jQuery thinking that ".1" means a class?