Opened 16 years ago
Closed 16 years ago
#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: | ||
Blocked by: | Blocking: |
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 (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Milestone: | → 1.1.4 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
That's correct. In 1.1.3 you can now do: $("#img1
.1") to escape the special character.
Note: See
TracTickets for help on using
tickets.
Is it something to do with jQuery thinking that ".1" means a class?