Bug Tracker

Opened 6 years ago

Closed 6 years ago

#10752 closed bug (invalid)

Change in Selector Logic noticeable in 1.4 to 1.6.4

Reported by: rangemonk@… 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']")

Change History (1)

comment:1 Changed 6 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.