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);
 
PREVIOUS NEXT
Tagged: #jQuery
ADD COMMENT
Topic
Name
2+1 =