|
What's the difference between using dataType "json" and dataType "jsonp? Why should I add "?Callback=?" to the end of my URL to specify the callback? I use type is set to only GET or POST and GET? On the documentation it says that I should set even something server side, what should I do? |
|
You can use json datatype if you ar retiving data from the same domain, otherwise, the cross domain ajax data retriving needs the JSONP (JSON with padding) protocol that must be accepted by the called server. Here are articles on how to allow the JSONP requests on your server: |


