摘要:WCF生成JSON的日期型为:Date(1213545600000 + 0800),该类型为UTC的日期格式,可以通过new Date(1213545600000 + 0800)转化为日期对象,然后获取值。如:(new Date(1213545600000 + 0800)).toLocaleDate...
阅读全文
随笔分类 - jQuery
摘要:原文:http://www.cnblogs.com/teddyma/archive/2006/07/28/462314.html 本文给出一个通过组合使用JST,JSON和AJAX技术,使用客户端js模版代替服务端数据绑定的范例。很显然的,使用客户端数据绑定代替服务端数据绑定能够大大减少服务端的内...
阅读全文
摘要:By Dave Ward on August 13th, 2008 In two of my recent posts, I demonstrated using ASP.NET AJAX in conjunction with jQuery or ASP.NET AJAX 4.0’s temp...
阅读全文
摘要:原文:http://mattberseth.com/blog/2008/06/getting_jquery_goodness_into_a_1.html#comment-23799 So clearly I am obsessing about getting jQuery features ...
阅读全文
摘要:By Dave Ward on June 26th, 2008 There was some interesting discussion on Matt Berseth’s blog recently, regarding methods for building and displaying...
阅读全文
摘要:When I suggest that developers consider using web services and a more client-centric approach to solve their UpdatePanel performance problems, the...
阅读全文
摘要:原文:明轩的blog Ajax中使用json这个轻量级数据类型通信的好处相信大家已经很清楚,考虑到安全问题,Asp.net Ajax的webService使用json,应该防止Json Hijacking。因此通常我们的做法是在使用Post请求式,并将请求的content-type设置成appl...
阅读全文
摘要:原文:http://www.noupe.com/tutorial/51-best-of-jquery-tutorials-and-examples.html There’s stuff all over the Web about jQuery, but finding the best tut...
阅读全文
摘要:原文:http://www.json.org/json-zh.html 介绍 JSON Arabic Bulgarian Chinese Czech Dutch English French German Greek H...
阅读全文
摘要:1.json :Newtonsoft.Json http://files.cnblogs.com/ie421/Json20.zip 2.js:jQuery 3.服务器端:ashx public void ProcessRequest(HttpContext context) { context....
阅读全文
摘要:源代码 Json.NET - Quick Starts & API Documentation Serializing and deserializing JSON The quickest method of converting between JSON text and a ....
阅读全文
摘要:原文: http://www.cnblogs.com/losingrose/articles/1247399.html 众所周知,webservice的性能要比常规httprequest处理速度要慢的多,而且传输数据量也要大很多。 项目开始的时候,我们为了节省时间,采用了微软的atlas+...
阅读全文
摘要:Earlier this year I blogged abouta new language extensibilityfeature of C# and VB called "Extension Methods". Extension methods allow developers to ...
阅读全文
摘要:原文:http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/ In response to many of the articles here, I receive feedback askin...
阅读全文
摘要:****** 生成js分页脚 ****** **** 没剑( 2008 - 03 - 05 ) **** 修改日期: 2008 - 3 - 12 添加两个参数:displaynum,displaylastNum可以自由定制显示的页码数量 参数:pagesize: 10 // 每页显示的...
阅读全文
摘要:(环境:vs2008+jquery1.2.3) 发现.net自带的ajax.net使用webservice输出的是json,其中关键的就是在请求时:Content-Type:application/json;utf-8 所以我们只要在POST时加上一个Content-Type:application...
阅读全文
摘要:这里要说明几点: 1、WebService地址必须是全称; 2、数据返回(dataType)为xml,如果要返回Json,代码需要调整; 3、参数写法看实例; 页面部分代码: 无标题页 标题 内容 asmx代码: [WebMet...
阅读全文
摘要:Is your email address OK? You are signed up for our newsletters but your email address is either unconfirmed, or has not been reconfirmed in a long...
阅读全文
摘要:原文:http://www.cnblogs.com/S.Sams/archive/2008/08/07/tooltip.html ============================================== 非常讨厌在网页写文章, 写了半又没了, 又得重头来. 发下牢骚, 接着...
阅读全文
摘要:原文: http://www.cnblogs.com/wzmaodong/archive/2008/05/21/1203962.html ===================================================== 行业网页的表单校验利器—...
阅读全文
浙公网安备 33010602011771号