详细两种解决方案JSONP 以及CORS实现
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
README.md
app.js
package.json

README.md

cross-domain

introduce two ways to solve cross-domain communication from the browser

#####how to run the demo

	git clone https://github.com/kunkun12/cross-domain.git
	cd cross-domain
	npm install 
	node app.js

type in a URL in browser :

	http://localhost:3002/crossdomain.html

the blog about the demo