0

How I can get my JSONP in IE7?

<script type="text/javascript"
  src="http://host/index.php?param1=param1&callback=my_func">
</script>
dda
  • 6,030
  • 2
  • 25
  • 34
vadim.zhiltsov
  • 9,294
  • 2
  • 15
  • 16
  • It should work just as it does in other browsers? Create a function named `my_func` in the global scope, which handles the response. Are you seeing any particular errors in IE7? – Matt Jun 08 '13 at 12:49
  • Yes, it didn't work in IE, all other browthers work correct. IE7 does not have JSON support, and I don't know what i can do – vadim.zhiltsov Jun 08 '13 at 15:07
  • 1
    You don't need JSON support to use JSONP; it's a bit of a misnomer; see [What are the differences between JSON and JSONP?](http://stackoverflow.com/q/2887209) or http://www.mattlunn.me.uk/blog/2011/10/json-vs-jsonp/. You really need to explain what *doesn't* work; do you see any errors? What have you tried to do to debug the issue? What sort of response does your call return? What's your response handling code? – Matt Jun 08 '13 at 15:09

0 Answers0