Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6072 closed bug (worksforme)

filter ATTR hash fails. ff2

Reported by: ilya.devel Owned by:
Priority: Milestone: 1.4.1
Component: selector Version: 1.4.1
Keywords: filter ATTR hash fails. ff2 Cc:
Blocked by: Blocking:


firefox 2

jquery-1.4.1.js line: 3172 throws exception when name == 'hash'

Attachments (1)

test-6072.html (397 bytes) - added by dmethvin 13 years ago.
Test case

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by john

Component: coreselector
Resolution: invalid
Status: newclosed

Can you provide an example where this might happen? I can't think of an element where you might be doing this particular selector. If you have an example please re-open this ticket - thank you!

comment:2 Changed 13 years ago by ilya.devel

Resolution: invalid
Status: closedreopened

i often use such construction

html: <a href="#submit">submit</a>

js: $(function() {

$('a[hash=#submit]').click(function() {

TODO: validate and submit

return false;



Changed 13 years ago by dmethvin

Attachment: test-6072.html added

Test case

comment:3 Changed 13 years ago by dmethvin

Resolution: worksforme
Status: reopenedclosed

It seems to work fine with 1.4.2 at least, test case attached.

Note: See TracTickets for help on using tickets.