The Little Guy Posted December 11, 2011 Share Posted December 11, 2011 I am trying to test whether or someone clicks on the button or not in a popup window I tried this, but it doesn't work: var mw = window.open("http://facebook.com/sharer/sharer.php?u="+window.location.toString(), 'facebook', 'status=0,toolbar=0,height=350,width=550,scrollbars=no,resizable=no'); $(mw.document).load(function(){ $(document).click(function(){ alert("hi"); }); }); Is this even possible? Quote Link to comment https://forums.phpfreaks.com/topic/252920-popup-window-click/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.