Jquery Callback Function

The Jquery Callback Function is executed after the current effect is finished.

Code Structure
$(document).ready(function(){
  $('button').click(function(){
    $('p').hide("slow", function(){
      alert("This div is now hidden.");
    });
  });
}); 

Share this

Related Posts