Skip to main content

Bug Tracker

Side navigation

#8351 closed bug (duplicate)

Opened February 22, 2011 05:07PM UTC

Closed February 22, 2011 11:06PM UTC

Last modified February 22, 2011 11:07PM UTC

Regresion in Attribute selector

Reported by: Owned by:
Priority: low Milestone:
Component: selector Version: 1.5
Keywords: Cc:
Blocked by: Blocking:

Having '/' in an attribute use to work while selection on that attribute in 1.4.4

But in 1.5.0 you get uncaught exception: Syntax error, unrecognized expression: [option=Test/This]

Attachments (0)
Change History (4)

Changed February 22, 2011 06:16PM UTC by comment:1

This also affects attributes that have a . in the value eg: option="3.6" cannot be selected via jQuery('[option=3.6]')

Changed February 22, 2011 06:31PM UTC by comment:2

Updated the examples

Working (1.4.4)

Exception (1.5.0)

Changed February 22, 2011 11:06PM UTC by jitter comment:3

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

None of the selector in your test case are - and never were - valid selectors (except the TestThis).

That these worked in earlier versions of jQuery was actually a bug that got fixed in 1.5. This is clearly pointed out in the documentation, so that I don't need to repeat my self check this comment

Changed February 22, 2011 11:07PM UTC by jitter comment:4

Duplicate of #8229.