Normally to redirect a user in a website using javascript I'd use window.location.replace("newpage.html");
however I've found that when using Ratchet this doesn't work. Does anyone know of a good way to make a ratchet application change pages using javascript?
How to redirect a user with javascript while using ratchet?
240 Views Asked by Jesse Green At
1
Take a look at push.js to see how the navigation mechanism is triggered. Ratchet auto-wires navigation to elements triggered on the touchend event. You can call PUSH with those properties directly.