Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3913 closed bug (fixed)

problem with jquery 1.3 selector

Reported by: kaladis Owned by: john
Priority: major Milestone: 1.3.2
Component: selector Version: 1.3.1
Keywords: selector Cc: shashi@…
Blocked by: Blocking:

Description

Hi, I have an element with id 'd+tile', it is not possible to select that element using $('#d
+title'). I am using jquery 1.3. html : <span id="d+title">something</span>

jquery : $('#d
+title') simply returns null set.

this was working in jquery 1.2.6. but not in 1.3.

Thanks.

Change History (3)

comment:1 Changed 11 years ago by balazs.endresz

The chunker erroneously splits the selector by the plus sign.

Btw, John, if you're fixing this there's another nice chunker issue in #3778 in the third comment :)

comment:2 Changed 11 years ago by dmethvin

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 (".").

http://www.w3.org/TR/html401/types.html#type-name

comment:3 Changed 11 years ago by john

Milestone: 1.31.3.2
Resolution: fixed
Status: newclosed
Version: 1.31.3.1

Fixed in SVN rev [6208].

Note: See TracTickets for help on using tickets.