Hi everyone, thanks for reading and replying to this dummy question.
I have a script that open a javascript alert box -
what I would like to do is after clicking the "OK" button is to direct the user to a new page.
the alert is working, just when I click the ok button, nothing happens.
Any help would be aprreciated,
thanks
echo '<script type="text/javascript"> setTimeout(function() { alert("my message" window.location = "/new-page.php";); }, 1000);';