Page 2 of 3
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 1:19 pm
by John Herdean
as you can see i was successful in getting a true response from the server, and i even get the alert message i wrote in javascript. The problem i think is with the Success JavaScript code. To me, thats the only reasonable explanation why its not going to the popup called "load_submitted"
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 1:20 pm
by Maryna Brodina
Hello! Could you please check are the any errors in console?
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 1:29 pm
by John Herdean
what do you mean by console?
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 1:33 pm
by Maryna Brodina
I mean Firebug or Chrome Develope Tools console (Network tab) where you can check are there any errors.
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 1:46 pm
by John Herdean
to be honest with you, i dont have my senior programmer with me rt now til later tonite. So, i'd appreciate it if you give me a little more instruction on how i do that because i havent used those tools before. Thank you
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 3:53 pm
by John Herdean
ok, i now just ran firebug. there are no errors. please see below:
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 3:57 pm
by John Herdean
you can test it also at:
http://appery.io/app/mobile-frame?src...
go to: dispatch login assign a new load
you must enter "1" for loadnumber since the server only has one record with that # otherwise the server will return a false. But, regardless it shouldnt matter bc the server will respond with a true or false. and i wrote in the javascript to go to one screenshot or another depending on the server response...
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 4:01 pm
by Kateryna Grynko
Thank you. We'll take a look.
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 4:33 pm
by John Herdean
i added a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a to my app as well...
how to trigger a page to nativate to from a json response?
Posted: Wed May 22, 2013 4:57 pm
by Kateryna Grynko
The problem is in Cross Origin Request. http://docs.appery.io/documentation/a...
To fix it tick "Use Appery proxy" in "submit_load" service settings.