Skip to main content

Bug Tracker

Side navigation

#12276 closed bug (invalid)

Opened August 13, 2012 10:11AM UTC

Closed August 13, 2012 12:44PM UTC

jQuery throws an error while getting an element with an id containing a slash

Reported by: nicofrand@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

Although the HTML5 specification allows to use any non-space characters in an id attribute, jQuery can not select an element with an id like "selector-/test" (whereas a simple document.getElementById can).

http://jsfiddle.net/tMuKt/2/

Attachments (0)
Change History (1)

Changed August 13, 2012 12:44PM UTC by gibson042 comment:1

resolution: → invalid
status: newclosed