Tuesday, May 27, 2014

jQuery fadeToggle() Method

Syntax:


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



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

No comments:

Post a Comment