摘要: 如需同步执行,需在$.get方法前增加$.ajaxSetup({ async: false });例如 $.ajaxSetup({ async: false });$.get(url,function(data){ alert(1)})alert(2)增加后,弹出顺序:1,2 反之则:2,1 阅读全文
posted @ 2013-08-29 15:43 年月 阅读(154) 评论(0) 推荐(0) 编辑
摘要: $("#btnzk").click(function(){ $("#requirementContainer").slideToggle("slow");}); 阅读全文
posted @ 2013-06-18 14:05 年月 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.分组并且查询每组数量 var groupList = from a in examineeList group a by new { a.SN, a.BeginTime, a.End... 阅读全文
posted @ 2013-05-28 15:08 年月 阅读(259) 评论(0) 推荐(0) 编辑
摘要: $("#div_Create").load(url, function () { $.validator.unobtrusive.parse("#div_Create"); }); 阅读全文
posted @ 2013-05-25 12:26 年月 阅读(218) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-05-24 14:26 年月 阅读(15) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-05-21 17:38 年月 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 折腾了白天,最后才发现原因是NLog.config文件,必须放在程序根目录。 阅读全文
posted @ 2013-05-16 16:01 年月 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 前段时间网站被SQL注入了,尝试了N种方法,最后采用了双重方法才制止住,不过现在每天小黑还在尝试攻击,到目前为止还没出现漏洞闲话少说,现在说说我对SQL注入的防止思想和做法1.首先程序中尽量少用拼字符串,改用存储过程来执行2.在httpmoudle中采取拦截关键字的方法,不过这个有个缺点,就是当用户添加修改信息的话,可能内容会存在关键字,所以采取写日志发邮件方法,可以即时通知管理员,知道有人攻击,... 阅读全文
posted @ 2010-02-02 14:01 年月 阅读(479) 评论(2) 推荐(0) 编辑
摘要: <script type="text/javascript" language="javascript">function document.onkeydown() { if ((event.keyCode == 13) && (event.srcElement == document.getElementById("txtUserPassword"))) { var ... 阅读全文
posted @ 2009-09-25 10:49 年月 阅读(341) 评论(6) 推荐(1) 编辑