Hello.
What should I do for auto close blank pop-up window after execute php procedure in form?
I have button on form and JavaScript for it. In JavaScript I use runIt(pCode); for executing some php code.
Then I press this button some annoying window pop-up in background.
Maybe I must add some code to php procedure?
--
Maxim
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
Auto close pop up window
-
- Site Admin
- Posts: 2782
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
- Been thanked: 2 times
Re: Auto close pop up window
Maxim,
at the end of the procedure put..
Steven
at the end of the procedure put..
Code: Select all
print "<html><body onload='window.close()'></body></html>";