Bug Tracker

Modify

Ticket #1637 (closed bug: invalid)

Opened 6 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by AlexS

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

comment:2 Changed 6 years ago by brandon

  • Status changed from new to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.