摘要:
$(function(){ $('#search').click(function(){ if($(".search_div").is(":visible")) $(".search_div").hide(); else $(".search_div").show(); }); $(".search 阅读全文
摘要:
用户控件页面后台: public string P_Name { get { return txt_P_name.Value; } set { txt_P_name.Value = value; } } Web页面后台: if (head.P_Name != "") { strwhere += " 阅读全文
摘要:
方法一:采用正则表达式获取地址栏参数:( 强烈推荐,既实用又方便!) function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.searc 阅读全文
摘要:
cache的作用就是第一次请求完毕之后,如果再次去请求,可以直接从缓存里面读取而不是再到服务器端读取。如果使用jquery,可以使用 cache参数来控制$.ajax({ url: "test.html", cache: false, //或者设置true success: function(htm 阅读全文