Bug Tracker

Modify

Ticket #11471 (closed bug: invalid)

Opened 14 months ago

Last modified 14 months ago

Bug with id selectors

Reported by: zigsas_1@… Owned by:
Priority: low Milestone: None
Component: selector Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

Description

 http://jsfiddle.net/4PYU4/

This bug touches all versions of jquery. All info in jsfiddle

Change History

comment:1 Changed 14 months ago by gibson042

"125" is not a valid id because it doesn't begin with a letter.

 http://www.w3.org/TR/html4/types.html#type-id ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

comment:2 Changed 14 months ago by sindresorhus

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to selector

If you need to have only numbers, prefix them, or try using *-data attributes instead.

Last edited 14 months ago by sindresorhus (previous) (diff)

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.