Skip to main content

Bug Tracker

Side navigation

#3140 closed bug (invalid)

Opened July 07, 2008 06:24PM UTC

Closed July 07, 2008 11:49PM UTC

jQuery fails when element's id include character"[]"

Reported by: huangam Owned by:
Priority: major Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

Here is an element:

<div id="test[test]"></div>,

but $("#test[test]").length === 0

I think jQuery treat [test] as a attribute!

Attachments (0)
Change History (1)

Changed July 07, 2008 11:49PM UTC by flesler comment:1

component: coreselector
resolution: → invalid
status: newclosed

Check out this link.