Appreciate help in redirection after custom dialog box button click......

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 13
Joined: Thu Feb 05, 2015 12:21 pm

Fri Mar 10, 2017 10:32 am

Hi All,

Have 2 textfields to change the password after updating the password want to display below dialog box then should be redirected to logoutfinal page...but without dialog box page is getting redirected.....Appreciate the help in resolving the issue

With alert its working but I want my own dialog box.....

<div class=dlgBox id=dlgBox>
<div class=dlgHeader>
SmartRecruit Alert
<button class=close onClick=document.getElementById('dlgBox').style.display='none'>X</button>";

<div class=dlgBody><b>
Password has been UPDATED.........

<div class=dlgFooter>
<button onClick=document.getElementById('dlgBox').style.display='none'>OK</button>

header('Location: logoutfinal.php');


Post Reply