115
rated 0 times
[
119]
[
4]
/ answers: 1 / hits: 81473
/ 13 Years ago, tue, february 14, 2012, 12:00:00
I've got a popup window opened using window.open()
. What I want now is for a user to be able to click one of 2 links within this new window: Allow or Don't Allow.
When a user clicks one of those links the 'popup' window should close, and return either allow or don't allow or something along those lines, true
/false
would do, to the parent window.
Is it possible? If so, how?
Code:
var authWindow = window.open('auth.php', 'authWindow', 'options...');
Then just 2 anchors inside auth.php
?
More From » jquery