Tuesday, May 27, 2014

jQuery fadeOut() Method

Syntax:

$(selector).fadeOut(speed,callback);

$("button").click(function(){
  $("#div1").fadeOut();
  $("#div2").fadeOut("slow");
  $("#div3").fadeOut(3000);
});


No comments:

Post a Comment