Page is a not externally linkable
Philosopher - 10:29 pm on Feb 7, 2013 (gmt 0)
I had some code written for me (I'm not well versed with js and ajax) that posts data from a form and receives an xml response.
I'm having some issues and need to do a bit of debugging. To do that I need to see what is actually being received but since I've never been very handy with js much less ajax, I could use some help.
Here is the pertinent code below:
$.ajax({
type: "POST",
timeout:120000,
url: urltxt,
async: true,
data:tdata,
beforeSend: function() { $.mobile.showPageLoadingMsg("c","Processing...",false);
}, //Show spinner
complete: function() { $.mobile.hidePageLoadingMsg()
}, //Hide spinner
success: function(msg){
error = "";
$(msg).find('response').each(function(){
lots of code to test various responses...
});
Any help would be greatly appreciated!