Thanks Shadedecho.
Your proposal might also work. I did come around it
though by putting this script in the popup header:
....
<script type="text/javascript">setInterval(testFoo,1000); // every 1 seconds
function testFoo() {
if (!window.opener.foo) {
window.opener.foo = self; }...
I have this script to popup a form on my page.
When clicked (and reclicked) from the same page, it works fine. But when the same link is clicked from another page the popupform is reloaded and what has been written is all gone. How can I avoid the reload and just bring the window in focus again...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.