日期:2014-05-16 浏览次数:20637 次
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
$("#btn").click(function(){
$("#chaxun").fadeIn(1000);
});
});
</script>
</head>
<body>
<div id="chaxun" style="display:none">查询显示</div>
<input type="button" value="查询" id="btn" />
</body>
</html>
------解决方案--------------------
你问题解决了吗、我也遇到过类似的问题
我是在窗体加载的时候做了个判断,在地址栏多加了一个参数、窗体加载的时候判断参数的值,从而让div显示或不显示