Appreciate help in redirection after custom dialog box butto
Posted: Fri Mar 10, 2017 12:35 pm
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>
<div class=dlgBody><b>
Password has been UPDATED.........
</b></div>
<div class=dlgFooter>
<button onClick=document.getElementById('dlgBox').style.display='none'>OK</button>
</div>
</div>
header('Location: logoutfinal.php');
exit;
Thanks,
Nick
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>
<div class=dlgBody><b>
Password has been UPDATED.........
</b></div>
<div class=dlgFooter>
<button onClick=document.getElementById('dlgBox').style.display='none'>OK</button>
</div>
</div>
header('Location: logoutfinal.php');
exit;
Thanks,
Nick