Turn from: http://jingyan.baidu.com/article/7c6fb4281d685780642c900a.html
Ajax itself does not support cross-domain, the cross-domain problem is actually very simple, through the corresponding settings of the browser can complete two different servers or two different services under the project to access each other. I hope you will give us an assessment and a vote. Method/Step
First right-click on Google shortcuts and select Properties in the Drop-down list.
Open the Properties window and switch below the Shortcut tab, which defaults to the General tab.
Add "--disable-web-security" after the target path, in the following format: C:\Users\Administrator\AppData\Local\Google\Chrome\Application\ Chrome.exe--disable-web-security, where there is a space between Chrome.exe and--disable
Click Apply, and then click OK to close the window.
If the path in the destination contains double quotes, it is added outside the double quotation marks.
Close the browser again by using a desktop shortcut, and the browser prompts you to use an unsupported command line tag:--disable-web-security. Stability and security will decrease ", stating that the settings were successful. End Considerations