How do you view POST information from a JQuery AJAX post request? -



How do you view POST information from a JQuery AJAX post request? -

i'm using phonegap , making jquery ajax post javascript. i'd able view actual post request php can confirm beingness sent correctly. here know how that? pseudocode attached.

$.ajax({ url: myurl, type: 'post', xhr: function() { var myxhr = $.ajaxsettings.xhr(); if (myxhr.upload) { myxhr.upload.addeventlistener("progress", progressfunc, false); } homecoming myxhr; }, //ajax events success: completehandler = function(data) { //... }, data: { ... }, datatype: "json", //options tell jquery not process info or worry content-type cache: false, contenttype: false, processdata: false, crossdomain: true, error: function(e) { //... } });

you can view request in chrome developer tools. press f12 , click network tab.

jquery ajax

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -