11 2014 档案
js
摘要:$(document).ready(function() { $("#firstpane .menu_body:eq(0)").show(); $(".menu_head").bind("click", function () { ... 阅读全文
posted @ 2014-11-27 14:50 利利乐园 阅读(185) 评论(0) 推荐(0)
后台写js
摘要:public ActionResult CheckLogon() { var con = "document.write('{0}')"; if (AuthManager.UserWebIdentity == null) ... 阅读全文
posted @ 2014-11-27 10:21 利利乐园 阅读(312) 评论(0) 推荐(0)
Json 序列化
摘要:public ActionResult List(int oid, int pageIndex = DefaultPageIndex, int pageSize = Defaultpasesize) { OrdersOperator ordersOp... 阅读全文
posted @ 2014-11-17 14:44 利利乐园 阅读(131) 评论(0) 推荐(0)
60秒倒计时
摘要:var wait = 60; function time(o) { if (wait == 0) { o.removeAttribute("disabled"); o.v... 阅读全文
posted @ 2014-11-06 15:10 利利乐园 阅读(143) 评论(0) 推荐(0)
C#操作cookie
摘要:创建Cookie HttpCookie cookie = new HttpCookie("MyCook");//初使化并设置Cookie的名称 DateTime dt = DateTime.Now; ... 阅读全文
posted @ 2014-11-06 13:40 利利乐园 阅读(391) 评论(0) 推荐(0)
jquery.validate 表单验证
摘要:这个是我星期六的时候研究了一天的成果,虽然效率有点低吧,自学能力有点弱,不过自己还是很满意了吧,现在能自己套到程序中并成功运行,达到自己想要的效果首先引用 Jquery Jquery.Vaildate自定义方法,正则验证 jQuery.validator.addMethod("... 阅读全文
posted @ 2014-11-04 12:00 利利乐园 阅读(285) 评论(0) 推荐(0)