Friday, July 29, 2022

Jquery callback

 

A callback function is executed after the current effect is finished.

after the shadow is 100% complete


 $("button").click(function(){


  $("p").hide("slow", function(){

    alert("The paragraph is now hidden");

  });

});

No comments:

Post a Comment