Jump to content

Popup Window Click


The Little Guy

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.