Skip to main content

Bug Tracker

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.

Attachments (0)
Change History (2)

Changed September 17, 2007 10:55AM UTC by AlexS comment:1

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

Changed September 18, 2007 01:26PM UTC by brandon comment:2