Skip to main content

Bug Tracker

Side navigation

#8282 closed bug (duplicate)

Opened February 15, 2011 03:03PM UTC

Closed February 15, 2011 03:59PM UTC

Last modified February 15, 2011 03:59PM UTC

Attribute Selectors Without Quotes Stopped Working

Reported by: stephen@shortround.net Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

I recently upgraded an app from jQuery 1.4.2 to jQuery 1.5.0. I was using a query like the following:

 $('[name=some[field]]') 

This stopped working with a syntax error when I used 1.5. I was able to get the query to work with:

 $('[name="some[field]"]') 

Both queries work in 1.4.2, but the top one fails in 1.4.4 and 1.5.

Attachments (0)
Change History (3)

Changed February 15, 2011 03:06PM UTC by anonymous comment:1

1.4.2 Test: http://jsfiddle.net/UeMcq/

1.4.4 Test: http://jsfiddle.net/EZ96m/

1.5.0 Test: http://jsfiddle.net/xty4s/

All tests done in Google Chrome 9.0.597.98.

Changed February 15, 2011 03:59PM UTC by jitter comment:2

component: unfiledselector
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed February 15, 2011 03:59PM UTC by jitter comment:3

Duplicate of #8229.