首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Ajax >

容许google浏览器跨域ajax提交

2013-11-06 
允许google浏览器跨域ajax提交在启动chorme时加上 --allow-file-access-from-files 或者 -disable-web-sec

允许google浏览器跨域ajax提交

在启动chorme时加上 --allow-file-access-from-files 或者 -disable-web-security 建议用前者。

例子:

?

步骤: 在CMD中,     1. 进入到chrome根目录为当前操作目录     2. 输入指令 chrome.exe --allow-file-access-from-files

?

热点排行