PHP Developers Network
http://forums.devnetwork.net/

Appreciate help in redirection after custom dialog box butto
http://forums.devnetwork.net/viewtopic.php?f=13&t=143443
Page 1 of 1

Author:  joinnavdev [ Fri Mar 10, 2017 1:35 pm ]
Post subject:  Appreciate help in redirection after custom dialog box butto

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/