E
E
Eugene2018-12-18 09:49:00
Apache Cordova
Eugene, 2018-12-18 09:49:00

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>

But the transition to apltc.html did not happen? And how do transitions work? I google a bunch, but everywhere there is only water and what about Cordova that ionic does not have Russian support for normal

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Pitalenko, 2019-02-15
@Rikisan

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 question

Ask a Question

731 491 924 answers to any question