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? Link to comment https://forums.phpfreaks.com/topic/252920-popup-window-click/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.