John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to trigger a page to nativate to from a json response?

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"

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

how to trigger a page to nativate to from a json response?

Hello! Could you please check are the any errors in console?

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to trigger a page to nativate to from a json response?

what do you mean by console?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

how to trigger a page to nativate to from a json response?

I mean Firebug or Chrome Develope Tools console (Network tab) where you can check are there any errors.

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to trigger a page to nativate to from a json response?

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

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to trigger a page to nativate to from a json response?

ok, i now just ran firebug. there are no errors. please see below:

Image

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to trigger a page to nativate to from a json response?

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...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

how to trigger a page to nativate to from a json response?

Thank you. We'll take a look.

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

how to trigger a page to nativate to from a json response?

i added a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a to my app as well...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

how to trigger a page to nativate to from a json response?

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.

Return to “Issues”