Jquery JSONP POST
Jquery JSONP POST
I am a beginner in jquery and JSON below is the script I have which sends the JSONP request.
It works fine but I am looking how to post the request so that the parameters are not shown in the browser's firebug. In firebug it shows POST as protocol and also the parameters
- $.post(postService,function(data){
- // type: "POST";
- var resText = trim(data.returnstr);
- if(resText.indexOf(':') > 0){
- code = resText.substring(resText.indexOf(':')+1, resText.length);
- }
- $(".thanksWrapper").css("display", "block"); //display thank you message logic
-
- },"jsonp");