09 2011 档案
摘要:一.元素的显示与隐藏 1.show().hide()方法 $("#div1").show(); //div 显示 $("#div1").hide(); //div 隐藏 二.渐入渐出的变幻 1.show(),hide()方法 $("#div1").show(3000); //div 显示的过程为30...
阅读全文
摘要:public ActionResult DataQuery() { using (var query = new QueryBLL.QueryClient()) { var x = query.DataQuery(userid); var parent = (from a in x.Values ...
阅读全文
摘要://验证是否有特殊字符function checkval(t) { var re = /^[\u4e00-\u9fa5a-z]+$/gi;//只能输入汉字和英文字母 if (re.test(t)) { return true; } else { return false; }} //自己写的验证日期...
阅读全文
摘要:var sqlstr = Createsqlstr(maxreturnrows);//sql语句 var res = $("#result"); res.empty(); $("#result").css("display", "block"); postAjax("Query", "Comple...
阅读全文
摘要://全选 $("#selectall").bind("click", function () { var cb = $("#datatablename :checkbox"); cb.attr("checked", true); }); //全不选 $("#selectnone").bind("cl...
阅读全文
摘要:public void OutPutdata(out string filename, out string filetype, out string filePath, out long filesize, MODEL.ComplexQuery SaveQuery) { var querydal ...
阅读全文
摘要:1:选择器//这两个都是选择input中被选中的空间,但是在IE中$("#child input:checked")有可能还会选中text控件$("#child input:checked")$('#child').find("input[checked=true]")if (selectradio...
阅读全文
摘要:DataTime nowDate = DataTime.Now;nowDate.toString("r"); 效果为: Wed, 22 Jul 2009 16:24:33 GMT找遍了整个网络,原来就这样。。。。郁闷中。。。为此找到所有的时间格式化d ShortDatePattern D Long...
阅读全文
摘要:方法1:调用com组件,导出access数据到Excel,就是直接调用access的导出功能,此方法速度超级快using Access;Access.ApplicationClass oAccess = new Access.ApplicationClass();oAccess.Visible = ...
阅读全文
摘要:jQuery 常见操作实现方式$("标签名") //取html元素 document.getElementsByTagName("")$("#ID") //取单个控件document.getElementById("")$("div #ID") //取某个控件中控件$("#ID #ID") // 通...
阅读全文

浙公网安备 33010602011771号