Skip to main content

Bug Tracker

Side navigation

#4142 closed bug (fixed)

Opened February 13, 2009 08:10AM UTC

Closed February 15, 2009 04:05PM UTC

the selector by attribute has a bug

Reported by: Do1Win2 Owned by: john
Priority: major Milestone: 1.3.2
Component: selector Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:
Description

$('div[name=321]')


as this attribute selector is novalid because of the name attribute

Attachments (0)
Change History (2)

Changed February 14, 2009 01:37AM UTC by dmethvin comment:1

What doctype are you using where a div element has a name attribute? If it's an XML document that should work. For (X)HTML documents jQuery uses getElementsByName which the W3C defines here:

http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-71555259

Changed February 15, 2009 04:05PM UTC by dmethvin comment:2

resolution: → fixed
status: newclosed

Duplicate of #4081, should be fixed by [6082].