Skip to main content

Bug Tracker

Side navigation

#10186 closed enhancement (invalid)

Opened September 01, 2011 09:37AM UTC

Closed September 01, 2011 02:13PM UTC

Create a callback function in the .remove() function

Reported by: nolillo2003@gmail.com 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!!

Attachments (0)
Change History (1)

Changed September 01, 2011 02:13PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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