摘要: $('input.pass').mouseup(function () { alert($(this).parents('form').serialize()); $(this).parents('div.custom-card').load('@Url.Action("CheckPartial", 阅读全文
posted @ 2018-07-02 15:17 Jayesslee 阅读(276) 评论(0) 推荐(0) 编辑
摘要: [HttpPost] public ActionResult CheckPartial()//直接加参数获取不到POST过来的数据 { Session["Id"] = 1; var UserID = Convert.ToInt32(Session["Id"]); using (var streamR 阅读全文
posted @ 2018-06-29 17:59 Jayesslee 阅读(228) 评论(0) 推荐(0) 编辑
摘要: JSON.parse() => 从一个字符串中解析出json对象 例子: //定义一个字符串 var data='{"name":"goatling"}' //解析对象​ ​JSON.parse(data) 结果是: ​name:"goatling" JSON.stringify() => 从一个对 阅读全文
posted @ 2018-06-29 15:46 Jayesslee 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1.Ref. http://www.cnblogs.com/edisonchou/p/4787775.html 阅读全文
posted @ 2018-06-24 14:18 Jayesslee 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Ref. https://visualstudiomagazine.com/articles/2017/06/01/calling-web-services.aspx The .NET Framework gives you three different ways to call a Web Se 阅读全文
posted @ 2018-06-23 09:30 Jayesslee 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1.一个按钮绑定多个异步方法(ajax),怎么控制触发顺序? 如果是两个,可以用mousedown,mouseup 阅读全文
posted @ 2018-06-22 15:53 Jayesslee 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.Razor渲染顺序/事件(Ajax)执行顺序 The Razor pipeline is: First, Razor evaluates, if present, _ViewStart.cshtml that contains only Razor statements (C# or VB) f 阅读全文
posted @ 2018-06-22 15:47 Jayesslee 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Ref. http://www.cnblogs.com/zskbll/p/4074855.html Ref. http://www.cnblogs.com/zskbll/p/4080328.html Ref. http://blog.51cto.com/pizibaidu/1936456 STEP 阅读全文
posted @ 2018-06-18 22:59 Jayesslee 阅读(6) 评论(0) 推荐(0) 编辑