jQuery API 返回首页目录 | jQuery API 中英文对照版
show
show()

显示隐藏的匹配元素。

返回值:jQuery

示例:

$("p").show()

HTML 代码:

<p style="display: none">Hello</p>

结果:

[ <p style="display: block">Hello</p> ]

 
show()

Displays each of the set of matched elements if they are hidden.

Return value: jQuery
Example:

 $("p").show()  
Before:
 <p style="display: none">Hello</p>  
Result:
 [ <p style="display: block">Hello</p> ]  


 

相关链接
asp之家 | jQuery官方网站 | jQuery中文网 | 电子书作者网站 | 电子书作者blog