Click Here

The hide effect to hide any HTML element

Example JQUERY hide

To hide all elements <p>


You can have 2 optional parameters (speed and callback)

The parameter "speed" indicates the milliseconds that it should take effect.

The parameter "callback" indicates JQUERY function to be executed at the end of the effect.

Example JQUERY hide (speed, callback)

To hide all <p> elements, with a duration of 2 seconds and an alert showing that the effect has ended

$("p").hide( 2000, function(){ alert("El parrafo ya se ha ocultado");} );

Click Here