上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: JavaScript 面向对象程序设计(下)——继承与多态 前面我们讨论了如何在 JavaScript 语言中实现对私有实例成员、公有实例成员、私有静态成员、公有静态成员和静态类的封装。这次我们来讨论一下面向对象程序设计中的另外两个要素:继承与多态。 1 又是几个基本概念 为什么要说又呢? 在讨论继承时,我们已经列出了一些基本概念了,那些概念是跟封装密切相关的概念,今天我们要讨论的基本概念,主... 阅读全文
posted @ 2014-09-25 14:08 h.yl 阅读(146) 评论(0) 推荐(0)
摘要: jquery刷新页面(局部及全页面刷新) 2009-12-31 11:39:32| 分类: javascript|举报|字号 订阅 局部刷新: 这个方法就多了去了,常见的有以下几种; $.get方法,$.post方法,$.getJson方法,$.ajax方法如下 前两种使用方法基本上一样 $.get(”Default.php”, {id:”1″, page: “2″ },function(d... 阅读全文
posted @ 2014-09-16 16:08 h.yl 阅读(319) 评论(0) 推荐(0)
摘要: Get Selected Row from ASP.NET MVC 3 WebGrid Abstract: The following article demonstrates how to get the selected row from the ASP.NET MVC 3 WebGrid and what to do to display data. Every website has to... 阅读全文
posted @ 2014-09-14 22:31 h.yl 阅读(316) 评论(0) 推荐(0)
摘要: WebGrid Helper with Check All Checkboxes myEvernote Link Tuesday, September 13, 2011ASP.NET ASP.NET MVC Html Helper jQuery WebMatrix Introduction: WebGrid helper is one of the helper of AS... 阅读全文
posted @ 2014-09-14 22:09 h.yl 阅读(508) 评论(0) 推荐(0)
摘要: How to Add custom html to Header in WebGrid MyEvernote Link Posted on March 30, 2013by mtryambake How to make a MVC 3 Webgrid with checkbox column?This article will show you a How to Add custom html... 阅读全文
posted @ 2014-09-14 22:00 h.yl 阅读(416) 评论(0) 推荐(0)
摘要: Reloading a Razor WebGrid after Ajax calls using a partial view If you are using Razor and MVC you probably make some use of the built in controls in System.Web.Helpers. WebGrid, located in the Helper... 阅读全文
posted @ 2014-09-14 21:22 h.yl 阅读(334) 评论(0) 推荐(0)
摘要: jQuery 参考手册 - 遍历 jQuery Ajax jQuery 数据 jQuery 遍历函数 jQuery 遍历函数包括了用于筛选、查找和串联元素的方法。 函数描述 .add()将元素添加到匹配元素的集合中。 .andSelf()把堆栈中之前的元素集添加到当前集合中。 .children()获得匹配元素集合中每个元素的所有子元素。 .closest()从元素本身开始,逐级向上级元素匹配,... 阅读全文
posted @ 2014-09-11 15:36 h.yl 阅读(144) 评论(0) 推荐(0)
摘要: 原文链接 找了半天,原来如此: 在aspx中: 在cshtml中: @using Martian.Areas.SFC.Models@using Martian.Areas.SFC.Tools 个人现在喜欢的风格是加上;,因为这样看起来和C#中唯一的差别就是多了个@ @using Martian.Areas.SFC.Models;@using Martian.Areas.SFC.Tools; 阅读全文
posted @ 2014-09-11 09:52 h.yl 阅读(186) 评论(0) 推荐(0)
摘要: 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://cnn237111.blog.51cto.com/2359144/984466 之前写过一篇文章Jquery Ajax方法传值到action,本文是对该文的补充。 假设 controller中的方法是如下: public ActionResult ReadPerson(Person... 阅读全文
posted @ 2014-09-10 20:05 h.yl 阅读(219) 评论(0) 推荐(0)
摘要: jQuery ajax - load() 方法 jQuery Ajax 参考手册 实例 使用 AJAX 请求来改变 div 元素的文本:$("button").click(function(){ $("div").load('demo_ajax_load.txt'); }); 亲自试一试 您可以在页面底部找到更多 TIY 实例 定义和用法 load() 方法通过 AJAX 请求从服务器加载数... 阅读全文
posted @ 2014-09-10 17:18 h.yl 阅读(331) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页