jQuery hide() Method | jquery hide show
![jQuery hide() Method](https://i.imgur.com/axBPWDg.jpg)
❮jQueryEffectMethods[1]ExampleHideall
elements:$("button").click(function(){ $("p").hide();});TryitYourself»[2]DefinitionandUsageThehide()methodhidestheselectedelements.Tip:ThisissimilartotheCSSpropertydisplay:none.Note:Hiddenelementswillnotbedisplayedatall(nolongeraffectsthelayoutofthepage).Tip:Toshowhiddenelements,lookattheshow()[3]method.Syntax$(selector).hide(speed,easing,callback)ParameterDescriptionspeedOptional.Specifiesthespeedofthehideeffect.Defaultvalueis400millisecondsPoss...
![jQuery hide() Method](http://pix4.agoda.net/hotelimages/agoda-homes/5899847/61e1a790eeb181e40e8f262ea5a396dc.jpg?s=800x)
❮ jQuery Effect Methods[1]
ExampleHide all <p> elements:
$("button").click(function(){ $("p").hide();});
Try it Yourself »[2] Definition and UsageThe hide() method hides the selected elements.
Tip: This is similar to the CSS property display:none.
Note: Hidden elements will not be displayed at all (no longer affects the layout of the page).
Tip: To show hidden elements, look at the show()[3] method.
Syntax$(selector).hide(speed,easing,callback)
Parameter Description speed Optional. Specifies the speed of the hide effect. Default value is 400 millisecondsPossible values:
milliseconds "slow" "fast" easing Optional. Specifies the speed of the element in different points of the animation. Default value is "swing"Possible values:
"swing" - moves slower at the beginning/end, but faster in the middle "linear" - moves in a constant speed Tip: More easing ...取得本站獨家住宿推薦 15%OFF 訂房優惠
本站住宿推薦 20%OFF 訂房優惠,親子優惠,住宿折扣,限時回饋,平日促銷
.hide() | jquery hide show
.show() | jquery hide show
.toggle() | jquery hide show
How to hide a div with jQuery? | jquery hide show
How to showhide an element using jQuery ? | jquery hide show
jQuery Effects | jquery hide show
jQuery hide() Method | jquery hide show
jQuery Show and Hide Effects | jquery hide show
jQuery 效果 | jquery hide show
jQuery 效果– 隐藏和显示 | jquery hide show
jQuery 效果– 隐藏和显示 | jquery hide show
[jQuery] 區塊顯示或隱藏的切換 | jquery hide show
[Jquery]讓div能自由的show、hide | jquery hide show
[Jquery]讓div能自由的show、hide @ King的幸福國度:: 痞客邦 | jquery hide show
![](https://i.imgur.com/axBPWDg.jpg)
![](https://i.imgur.com/axBPWDg.jpg)
![](https://i.imgur.com/axBPWDg.jpg)