Side navigation
#1637 closed bug (invalid)
Opened September 17, 2007 10:51AM UTC
Closed September 18, 2007 01:26PM UTC
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: | ||
Blocked by: | Blocking: |
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.
This happens in FF 2.0.0.6, didn't test in other browsers.