Skip to main content

Bug Tracker

Side navigation

#8258 closed bug (invalid)

Opened February 12, 2011 05:59PM UTC

Closed February 12, 2011 06:10PM UTC

Last modified February 12, 2011 06:40PM UTC

[Regression] 1.5 selector throws error when attribute contains a dot "."

Reported by: Rich Hong <hong.rich@gmail.com> Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

This simple example shows that it used to work in 1.4.4 but now throws an error in 1.5

Example with jQuery 1.4.4: http://jsfiddle.net/uuehg/

Example with jQuery 1.5: http://jsfiddle.net/VpkMz/

Attachments (0)
Change History (3)

Changed February 12, 2011 06:10PM UTC by snover comment:1

_comment0: Thanks for the report, but this is not a jQuery bug. Please read the API documentation on selectors. \ 1297534255089810
resolution: → invalid
status: newclosed

Thanks for the report, but this is not a jQuery bug. Please read the API documentation on attribute selectors.

Changed February 12, 2011 06:14PM UTC by hongrich comment:2

Replying to [comment:1 snover]:

Thanks for the report, but this is not a jQuery bug. Please read the API documentation on attribute selectors.

Thanks. I see now that "Quotes are mandatory." And it works if I put the quotes around attribute. It would be nice if these sort of things are mentioned in the release note. Since the behavior changed from 1.4.4 to 1.5

Changed February 12, 2011 06:40PM UTC by jitter comment:3

component: unfiledselector
priority: undecidedlow