can anyone help me how to set time to auto redirect if my script is executing.
I want to have a timer because it will automatically redirect to the page and my confirmation popup dialog box close so fast.
current code:
<script>
$(document).ready(function() {
// show a dialog box when clicking on a link
$.Zebra_Dialog('<strong>Congratulations! </strong> <br> ' +
'You have successfully registered!', {
'type': 'confirmation',
'title': 'Non-uniformed Personnel (NUP)',
'auto_close': 10000
});
window.location.replace("index.php");
});
</script>