Modify ↓
Ticket #10186 (closed enhancement: invalid)
Create a callback function in the .remove() function
| Reported by: | nolillo2003@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
It seems to be usefull to add a callback function when we use .remove(), for example , if you have a "jquery.ui" draggable window and you need to do something when close the window, yo could call: $("#that_window").remove(function(){
Do something and after remove the element
});
Thanks to everyone from Spain!!
Change History
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.

This is really a higher-level function, not something we'd add at jQuery core level.