Hello,
I had a phonegap app developed for me by a third-party firm, and now I'm just putting the finishing touches on it. They are using the jQTouch library for page navigation.
One two data input pages, I have a "submit" button that submits data to my API, and returns data which is then displayed on a result page. On that result page, I have a button going back to the data entry page. Here is the code:
<div id="newdata" >
...
</div>
var NEWDATA = "#newdata ";
...
App.jQT.goTo(NEWDATA);
which all works great, but when the app goes back to the #newdata page (div) it's still scrolled to the bottom where the submit button is.
I've been trying dozens of different things (via google) to get the page to scroll back up to the top when a user returns to the page, but I've come up empty.
This has to be a pretty simple thing to do, right? Can anyone provide a pointer in the right direction for me?
thanks.