now I went back to my original service i started with back a few weeks ago. It worked with the 'submit_load2' service with this exact code:
if(data.response==="true") {
$.mobile.changePage("load_submitted.html", {transition: "pop"});
}
else {
$.mobile.changePage("load_not_submitted.html", {transition: "pop"});
}
I just tested this service now and this has some issues as well. With this service, it has the opposite effect as the previous one. Instead of going to the 'true' line, it always goes to the 'else...' line no matter what the response is. So, we have two identical services with the same responses using the same exact JS, but getting two opposite results. This is strange...
Any ideas how to fix these services?