Skip to main content

Bug Tracker

Side navigation

#3913 closed bug (fixed)

Opened January 19, 2009 03:04PM UTC

Closed February 15, 2009 10:47PM UTC

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@inf.in
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.

Attachments (0)
Change History (3)

Changed January 19, 2009 07:42PM UTC by balazs.endresz comment:1

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 :)

Changed February 07, 2009 02:32PM UTC by dmethvin comment:2

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

Changed February 15, 2009 10:47PM UTC by john comment:3

milestone: 1.31.3.2
resolution: → fixed
status: newclosed
version: 1.31.3.1

Fixed in SVN rev [6208].