Andy Jacobs
Posts: 0
Joined: Thu Apr 16, 2015 11:34 am

Javascript redirect to page

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Javascript redirect to page

Hi Andy -

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

Andy Jacobs
Posts: 0
Joined: Thu Apr 16, 2015 11:34 am

Javascript redirect to page

Thanks for that. It works perfectly!

Return to “Issues”