Hi, can somebody please help me? For my php site, when users close a popup window for email subscriptions, it takes them to the homepage rather than staying on the current page. If I hit refresh, it takes me back to the page that I’m suppose to be on. I think this is the code that I’m dealing with:
$(’#’ + popID).fadeIn().css({ ‘width’: Number( popWidth ) }).prepend(’<a href=“http://<?php echo $_SERVER["HTTP_HOST"] ;?>/” class=“close”>’);
Any suggestions? I know in javascript you can make it auto refresh, but I’m not sure how to for php. Thanks in advance for the help!