jQuery API | 返回首页目录 | jQuery API 中英文对照版 |
hide |
hide()
隐藏显示的元素。 返回值:jQuery 示例: $("p").hide() HTML 代码: <p>Hello</p> 结果: [ <p style="display: none">Hello</p> ] Hides each of the set of matched elements if they are shown. Return value: jQuery $("p").hide()Before: <p>Hello</p>Result: [ <p style="display: none">Hello</p> ] |