Modify ↓
Ticket #1637 (closed bug: invalid)
jQuery() does not work if dot is in id
| Reported by: | AlexS | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.1 |
| Component: | core | Version: | 1.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
If I have something like this in my document:
<input type="hidden" name="customer.id" id="customer.id"/>
With version 1.1.x I was able to do this: $("#customer.id") In version 1.2.x it returns nothing. However $("#customerid") works. This is critical for people using JQuery with Java and the Stripes framework, since all inputs are named with a dot in them.
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.

This happens in FF 2.0.0.6, didn't test in other browsers.