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: |
Description
firefox 2
jquery-1.4.1.js line: 3172 throws exception when name == 'hash'
Attachments (1)
Change History (4)
comment:1 Changed 13 years ago by
Component: | core → selector |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 13 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
i often use such construction
html: <a href="#submit">submit</a>
js: $(function() {
$('a[hash=#submit]').click(function() {
TODO: validate and submit
return false;
});
});
comment:3 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
It seems to work fine with 1.4.2 at least, test case attached.
Note: See
TracTickets for help on using
tickets.
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!