Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

callbacks in jquery

$(document).ready(function(){
  $("button").click(function(){
    //First paragraph hide slowly
    $("p").hide("slow", function(){
      //alert display after paragraph is hide
      alert("The paragraph is now hidden");
    });    
  });
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #callbacks #jquery
ADD COMMENT
Topic
Name
3+5 =