views:

5

answers:

0

I am having issues using jsonp to do some cross domain ajax calls. It is pretty basic code that works in visual studio but once I deploy it on our staging server I get some odd behavior.

Data from httpfox:

From visual studio the query string looks like this

callback jsonp1280451715954 _ 1280451717305 x "Testing"

With the content being

jsonp1280451715954({"d":"Testing"});

However once deployed on IIS 7 on our testing server I get the following query string

callback jsonp1280451643617 _ 1280451646489 x "Testing"

with the content being

"Testing"

Is there something on IIS that needs to be setup for the response to come back the same?

Any help would be greatly appreciated.