Bug Tracker

Opened 12 years ago

Closed 12 years ago

#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:
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.

Change History (2)

comment:1 Changed 12 years ago by AlexS

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

Note: See TracTickets for help on using tickets.