12 2011 档案

摘要: 1.js跨域操作:在两个页面中加上 document.domain="y.com";2.iframe中元素操作后父页跳转可用window.open('','_top')或window.parent.document.location.href = ''3.jsonP: var url = 'http://test.yaolan.com/home/GetJ?jsoncallback=?'; $.getJSON(url, function (data) {};后台注意返回public void GetJ() { s阅读全文
posted @ 2011-12-07 16:29 迈克尔二孬 阅读(46) | 评论 (0) 编辑