I'm making a Phonegap application and I want it to grab data in XML format from my servlet. The index page of the app seems to have no problem doing it. But EVERY other page does seem to have a problem doing so. Even if we copy the code from index into another page.
This just doesn't seem to make sense to me. Is there something I've missed?
Cheers.
At the moment the call is this, but since it works in the index page I feel this isn't the issue.
$.ajax({
url: "full url",
data: {paramaters},
dataType: "xml",
success: function(data) {
// DO STUFF
}
});