Side navigation
#8824 closed bug (invalid)
Opened April 08, 2011 10:27AM UTC
Closed April 08, 2011 02:38PM UTC
Selector is now unrecognized
Reported by: | abel.tamayo@gmail.com | Owned by: | abel.tamayo@gmail.com |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | selector | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have found this error in Firefox 3.6 under Ubuntu:
using jQuery 1.4.2 this selector works: jQuery('select[name=[time]]')
but after updating to jQuery 1.5.2 it rises the following error: uncaught exception: Syntax error, unrecognized expression: [name=[time]]
I'm pretty sure it's jQuery's version the only problem here because if I switch back to 1.4.2 it works again.
Hope this helps.
Attachments (0)
Change History (2)
Changed April 08, 2011 01:53PM UTC by comment:1
owner: | → abel.tamayo@gmail.com |
---|---|
status: | new → pending |
Changed April 08, 2011 02:38PM UTC by comment:2
_comment0: | Even though it worked in jQuery 1.4.2, that is an invalid selector. This has been fixed in jQuery 1.5. Use quotes instead of brackets for check the value of an attribute: http://api.jquery.com/attribute-equals-selector/ → 1302273510280730 |
---|---|
component: | unfiled → selector |
resolution: | → invalid |
status: | pending → closed |
Even though it worked in jQuery 1.4.2, that is an invalid selector. This has been fixed in jQuery 1.5. Use quotes instead of brackets to check the value of an attribute: http://api.jquery.com/attribute-equals-selector/
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on http://jsFiddle.net that reproduces the issue experienced to help us assess your ticket!
Additionally, test against the
jQuery (edge)
version to ensure the issue still exists.