摘要:
使用正则表达式获取URl参数function GetQueryString(id){ var reg = new RegExp("(^|&)"+ id+"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(r... 阅读全文
摘要:
Received an invalid response. Origin 'null' is therefore not allowed access.今天在做二级联动,使用ajax请求xml数据,在用ie8与chrome做测试时就出现了这句话,看到网上也有说跨域等其他,更改浏览器等......我的... 阅读全文