The error message is as follows:
XMLHttpRequest Cannot load http://www.xxxx.com/264/Data/GetScreenInfo. No 'access-control-allow-origin
Today needs to do a local test, the HTML JS effect involves cross-domain pull data issues, chrome error and reject data extraction,,,
There is a convenient way to implement data cross-domain in Google, simply Type a value for the browser --disable-web-security (this value has a space before the O ( ∩_∩) o~), click OK.
Such as:
TIP: Restart your browser first, and then open the document you want to test.
View Links:
CORS (cross-domain resource sharing) http://www.360doc.com/content/14/0106/11/15643_343005039.shtml
AJAX cross-domain implementations and hidden dangers in the new http://huaidan.org/archives/2729.html standard
Cross-domain access to resource http://technet.microsoft.com/zh-cn/sqlserver/e36ceae6-ff36-4a1b-9895-75f0eacfe94c