Answer the question
In order to leave comments, you need to log in
How to navigate from page to page in Cordova?
After 3 days of torment, I managed to start Cordova normally.
Everything works in the emulator, the test application is launched.
But I can't figure out how to make transitions between pages. I wrote a WEB API for interacting with the application via JSON.
And so I want to make while 3 pages. The first is just like an input with a picture of the application. Second Authorization. The third Table, which will receive data from the server.
Let's omit the moment that I have not yet been able to connect jquery.
I created 2 pages, I hung a button on one. At the button on the native wrote
<button type="button" id="butOne" onclick="location.href='aplic.html'" class="btn btn-success">Жмяк</button>
Answer the question
In order to leave comments, you need to log in
I have earned transitions only on the JQuery handler. In a separate js file, I registered a click handler for the button
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question