摘要: JS window.name 跨域封装 1 function CrossDomainName(target, agent, callback, security) { 2 if (typeof target !== 'string' || typeof agent !== 'string' || typeof callback !== 'function') { 3 throw '参数错误'; 4 } 5 this.state = 0; 6 this.target = target;//目标路径 7 this.agent = ag 阅读全文
posted @ 2013-08-06 18:43 kingwell 阅读(995) 评论(0) 推荐(0) 编辑