hide()
HTML element can be hidden using the hide().
The optional speed parameter takes three values: "slow", "fast" and "milliseconds".
The optional callback parameter is executed after the execution of hide() completes.
Syntax:
$(selector).hide(speed,callback);
Example:
$("button").click(function(){
$("h1").hide(1000);
});
The optional speed parameter takes three values: "slow", "fast" and "milliseconds".
The optional callback parameter is executed after the execution of hide() completes.
Syntax:
$(selector).hide(speed,callback);
Example:
$("button").click(function(){
$("h1").hide(1000);
});
No comments:
Post a Comment