Good evening all. I’m trying to do a fadeout with Jquery to a with unique id which works but after that, i delete the with simple function removeElement which works too. My problem is that the removeElement function kicks in so fast that you cannot see the slow transition of the fadeout. I tried using the Javascript native setTimeout function, but still no help.
var elem_comment_release_container = 'release_' + release_id + '_comment_' + comment_release_id;
//fade to <TR>...nice effect
$("#" + elem_comment_release_container).fadeTo('slow','0.00');
//removeElement(elem_comment_release_container)
setTimeout(removeElement(elem_comment_release_container),31000);
Remove from the callback: