POST query with jQuery.ajax and 'jsonp' datatype
Hi!
I'm trying to make a script that passes a lot of information to a different site that the webserver that hosts the script. For doing that I need to use jQuery.ajax function with a datatype of 'jsonp', because the cross-site scripting problem, but I just can make work it with the GET queries. The problem with GET queries is that I need to pass a lot of information and there is a URL limit that is impossed by the webserver.
It is possible to make a workable jQuery.ajax function with 'jsonp' datatype that can make POST queries to a webserver and capture the response? If yes, can you show me an example?
Lot of thanks in advance.