Tuesday, May 27, 2014

jQuery fadeIn() Method

Syntax:

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

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

No comments:

Post a Comment