<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=utf-8" />
<title>绑定函数</title>
<scriptsrc="jquery-1.3.2.js"></script>
<script>
$(document).ready(function(){
vartemp=$("#test").is(":hidden");//是否隐藏
vartemp1=$("#test").is(":visible");//是否可见
alert(temp) ;
alert(temp1) ;
});</script>
</head>
<body>
<ponclick='test()'>刷新测试</p>
<divid="test" style="display:none"></div>
</body>
</html>