Skip to main content

Bug Tracker

Side navigation

#10752 closed bug (invalid)

Opened November 10, 2011 09:05PM UTC

Closed November 10, 2011 09:20PM UTC

Change in Selector Logic noticeable in 1.4 to 1.6.4

Reported by: rangemonk@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

jQuery("img[src$=off.gif]")

This works in 1.4, but not in 1.6.4.

The fix is: '''jQuery("img[src$='off.gif']")'''

Attachments (0)
Change History (1)

Changed November 10, 2011 09:20PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Yes, if there are special characters you must quote them. We used to accept unquoted strings in many cases but that is not allowed by the CSS standard.