Question

what do i need to do for invoke cross-domain reference using 3.5 framework? i learned that JSONP support by default in 4.0 framework.

what is the alternative any help?

Was it helpful?

Solution

It doesn't matter what framework or what environment you're using. As long as your web page returns a VALID JAVASCRIPT object wrapped in a function you're doing JSONP.

Make your web page returns something like:

func({"foo":"bar"});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top