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....  }); 

demo


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -