欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

xmlHttp ie6下不跨域還提示沒有權(quán)限,ie8下不會(huì)有這錯(cuò)誤

 更新時(shí)間:2009年04月27日 01:50:57   作者:  
昨天晚上叫我好弄啊,最后發(fā)現(xiàn)原因是我url太長(zhǎng)了,最后發(fā)現(xiàn)URL在2070B左右就不行了
url太長(zhǎng)就會(huì)提示沒有權(quán)限,ie8不會(huì),這應(yīng)該跟瀏覽器有關(guān)的
其實(shí)有個(gè)問題你注意一下就是,改成POST 方式傳就解決了
this.xmlHttp.open("POST", this.url, true);
//alert('end');

this.xmlHttp.setrequestheader("content-length",this._data.length);
this.xmlHttp.setrequestheader("content-type","application/x-www-form-urlencoded");
this.xmlHttp.onreadystatechange = Page;
this.xmlHttp.send(this._data);

by webxeyes 轉(zhuǎn)載注明出處 http://blog.csdn.net/webxeyes

相關(guān)文章

最新評(píng)論