Page 1 of 1

Javascript redirect to page

Posted: Tue May 19, 2015 1:59 pm
by Andy Jacobs

Hi

I'm using this bit of code that I found on the forum:

var onDelay = function(){
alert("delayed alert");
};
//Delay for 2s.
window.setTimeout(onDelay, 2000);

What I want to do though is replace the alert with a redirect to another page in the app.

Regards
Andy


Javascript redirect to page

Posted: Tue May 19, 2015 2:40 pm
by Illya Stepanov

Hi Andy -

Please take a look here: https://devcenter.appery.io/documenta...


Javascript redirect to page

Posted: Wed May 20, 2015 8:40 am
by Andy Jacobs

Thanks for that. It works perfectly!