Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
153
rated 0 times [  159] [ 6]  / answers: 1 / hits: 148348  / 15 Years ago, fri, november 27, 2009, 12:00:00

$target.remove() can remove the element,but now I want the process to be down with some feel animation,how to do it?


More From » jquery

 Answers
92
$target.hide('slow');


or



$target.hide('slow', function(){ $target.remove(); });


to run the animation, then remove it from DOM


[#98208] Tuesday, November 24, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
emiliano

Total Points: 381
Total Questions: 109
Total Answers: 93

Location: Jersey
Member since Fri, Oct 1, 2021
3 Years ago
emiliano questions
;