Bug Tracker

Opened 10 years ago

Closed 10 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:

Description

firefox 2

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 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 10 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 10 years ago by dmethvin

Attachment: test-6072.html added

Test case

comment:3 Changed 10 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.