jquery: adding effect to changing contents of a selected element -
i trying add animation effect changing contents of selected element.
like here's code change contents of div..
$('.message').html('the product has been deleted.');
i want add simple slide down effect process. how should this?
$('#check').click(function() { $('.text').html('here text.').hide().slidedown('slow'); // don't forget hide first.... });
Comments
Post a Comment