Modify ↓
Ticket #2177 (closed bug: worksforme)
this.remove failed in event
| Reported by: | igo | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.3 |
| Component: | core | Version: | 1.2.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Just look on this
$("#test-case-34").slideUp("fast", function() {
// this cause infinite loop of errors:
//this.remove();
// this works:
//$("#test-case-34").remove();
});
Attachments
Change History
Changed 5 years ago by davidserduke
-
attachment
jquery_test.html
added
comment:1 Changed 5 years ago by davidserduke
- Status changed from new to closed
- Resolution set to worksforme
I created a test case and it works fine for me. It looks like you are missing the $(this) in your example and it should instead be
$(this).remove()
If I'm missing something please feel free to reopen the bug with additional information.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

test case