How can I produce JSONP from an ASP.NET web service for cross-domain calls?
I’ve written a webservice which returns JSON and I’ve tried to call it using jQuery like this:
I’ve written a webservice which returns JSON and I’ve tried to call it using jQuery like this:
I have a an existing service like the below method:
Got kind of a tricky problem.
I’m pulling my hair out trying to figure out how to make a JSONP call to an ASMX web service using jQuery. These are just some of the pages that I’ve already read and haven’t found any solution:
Here I am making a simple ajax post call from my asp.net page which shows following error on httpfox.
“Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)”
and