I’m doing a simple slideUp animation on an object.
I want to add attribute tag to the the element after animation completes.
How can i get this to work ?
if($(this).is(':visible')) {
if(config.animate=='true')
$(this).slideUp(options.animationTime); //After animation ends do $(this).attr('shown','true');
else
$(this).hide();
}
1 Answer