If it's constantly refreshing, check that the html for the popup file doesn't have some code that is forcing it to refresh itself (meta tag or javascript).
You might also want to ensure that the popup html file is not the same file as the calling html file (since that would set off the situation you describe).
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.