2010年5月20日

摘要: 《JQuery 的跨域方法 可跨新浪、腾讯、经网等任意网站》作者给出了使用jQuery中的getJSON方法实现跨域的方法;示例代码没有问题,但是作者把getJSON跨域的原理解释成: "因为getJSON跨域的原理是把?随机变一个方法名,然后返回执行的,实现跨域响应的目的。" 这个未免草率了一些,是这么回事么?Firebug里面监控的结果貌似也是这么意思,本文试图探究jQuery getJson跨域的原理; 阅读全文
posted @ 2010-05-20 20:52 坚强2002 阅读(15874) 评论(43) 推荐(13) 编辑
 
摘要: 原文地址:http://en.wikipedia.org/wiki/Same_origin_policyFrom Wikipedia, the free encyclopediaIncomputing, thesame origin policyis an importantsecurityconcept for a number ofbrowser-side programming langua... 阅读全文
posted @ 2010-05-20 14:37 坚强2002 阅读(1661) 评论(0) 推荐(0) 编辑
 
摘要: JSONPJSONPor"JSON with padding" is a complement to the base JSON data format,ausage patternthat allows a page to request and more meaningfully use JSONfrom a server other than the primary server.Under... 阅读全文
posted @ 2010-05-20 13:46 坚强2002 阅读(2161) 评论(0) 推荐(0) 编辑
  我,技术人,身体变胖,头脑依然灵活,喜欢Erlang .net,非著名技术博客,翻译过大师经典文章,也原创了不少.在技术之路上沉思,不断重构着不太优秀的自己.爱生活,爱Erlang!