Bug Tracker

Opened 7 years ago

Closed 7 years ago

#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:
Blocked by: Blocking:

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 (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.