标签:
1.语法
$(".test").hide():隐藏class=test的元素
$("#.test").hide();隐藏id=test的元素
$(test).hide();隐藏标签为test的元素
$(this).hide();隐藏当前元素
$(document).ready(function (){
--jquery function here--
});
为防止页面加载未完成就调用JQuery function,将function写在ready中,可以避免这种情况
标签:
原文地址:http://www.cnblogs.com/chenxidawn/p/4503721.html