Bug Tracker

Modify

Ticket #10186 (closed enhancement: invalid)

Opened 21 months ago

Last modified 21 months ago

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

comment:1 Changed 21 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.