Bug Tracker

Opened 10 years ago

Closed 9 years ago

#6364 closed bug (wontfix)

# selector does not work for following situation

Reported by: munim Owned by:
Priority: undecided Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

jQuery selector does not work for long IDs (probably).

Please consider the HTML file attached.

Tested on Internet Explorer 8.0.7600 Firefox 3.6.2 Opera 10.51 Safari 4.0.4

Attachments (1)

test.html (1.5 KB) - added by munim 10 years ago.
HTML file to reproduce the bug

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by munim

Attachment: test.html added

HTML file to reproduce the bug

comment:1 Changed 10 years ago by jamierumbelow

Read the second paragraph on http://api.jquery.com/category/selectors/ and you'll see that you need to escape the = metacharacter with two backslashes. That should fix your problem.

comment:2 Changed 9 years ago by addyosmani

Priority: undecided
Resolution: wontfix
Status: newclosed

As confirmed by both the documentation at http://api.jquery.com/category/selectors/ and personal tests across FireFox 3.6.2 , IE 8, Chrome and Safari, you do need to escape the "=" characters in the above ticket in order for the behaviour to work as expected.

Closing as it no longer requires a resolution.

Note: See TracTickets for help on using tickets.