-
Prototype 同源问题10
请问Prototype的同源问题?
帮助文件上的例子是
var url = '/proxy?url=' + encodeURIComponent('http://www.google.com/search?q=Prototype');
// 注意:使用 proxy 是为了避开 SOP(参见:SOP)
new Ajax.Request(url, {
method: 'get',
onSuccess: function(transport) {
var notice = $('notice');
if (transport.responseText.match(/href="http:\/\/prototypejs.org/))
notice.update('Yeah! You are in the Top 10!').setStyle({ background: '#dfd' });
else
notice.update('Damn! You are beyond #10...').setStyle({ background: '#fdd' });
}
}
);
请教一下proxy的说法,是不是在后台根据传入的参数进行跳转来解决这个问题?2011年3月16日 19:34
目前还没有答案
相关推荐
prototype1.6.0prototype1.6.0prototype1.6.0prototype1.6.0
prototype的JS文件prototype的JS文件prototype的JS文件prototype的JS文件
对prototype的用法说明
Prototype Codes TextBook.rar:Prototype实战教程(爆爽,推荐); 2.Prototype API: Prototype1.5.1_API_CN_A.CHM:Prototype1.5.1中文API,版本一(推荐); prototype1.5.1_API_CN_B.CHM:Prototype1.5.1中文API,版本二...
prototype js脚本库prototype js脚本库prototype js脚本库prototype js脚本库
1、 Prototype-1.6.0 中文版 2、Prototype-1.6.0 英文版 3、Prototype.js
prototype帮助中文文档,prototype的源代码
prototype.js 是Sam Stephenson写的一个非常优雅的java script基础类库,对java script做了大量的扩展,而且很好的支持Ajax,兼容标准的类库,能帮助你轻松建立有高度互动的web2.0特性的丰富的客户端页面。...
prototype-1.6.0.3.js prototype1.4中文手册(chm) prototype1.5中文手册(chm) prototype1.6英文手册(chm)
prototype的Ajax介绍
prototype prototype 1.6中文手册 prototype 1.6中文手册chm 非常详尽,爱不释手
prototype1.5.1
prototype 1.3 源码解读
Prototype中文帮助文档Prototype中文帮助文档
Prototype中英文手册 Prototype中文手册 Prototype英文手册 Prototype API
找了好久,才找到下载资源 prototype_1.7.3.js 最新版本
prototype是函数对象上面预设的对象属性 1. JS中所有的东西都是对象,每个对象都有prototype这个属性,这个属性是一个对象(object) 2. JS中所有的东西都由Object衍生而来, 即所有东西原型链的终点指向Object....
非常实用的prototype 例子,对于快速掌握prototype有很好的帮助