top of page
With jQuery, you can hide HTML elements with the hide() method:
Example
$("#hide").click(function(){ $("p").hide(); });
Syntax:
$(selector).hide(speed,callback);
Here is the description of all the parameters:
-
speed: A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).
-
callback: This optional parameter represents a function to be executed whenever the animation completes; executes once for each element animated against.
Jquery Hide()
Add Effects To Your Site
bottom of page