本地的一个webAPP, 首页的一个DIV 里 我加载一个本地的HTML页面:
$("#oneDive").load("x.html");
在安卓手机端 提示 No 'Access-Control-Allow-Origin' header is present on the requested resource;
怎么解决这种问题呢?
本地的一个webAPP, 首页的一个DIV 里 我加载一个本地的HTML页面:
$("#oneDive").load("x.html");
在安卓手机端 提示 No 'Access-Control-Allow-Origin' header is present on the requested resource;
怎么解决这种问题呢?
webview.getSettings().setAllowUniversalAccessFromFileURLs(true);