Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jQuery hide() and show()

$("#hide").click(function(){
  $("p").hide();
});

$("#show").click(function(){
  $("p").show();
});

//syntax
//$(selector).hide(speed,callback);

//$(selector).show(speed,callback);
Source by htmlcheatsheet.com #
 
PREVIOUS NEXT
Tagged: #jQuery
ADD COMMENT
Topic
Name
3+3 =