losing value of window.opener

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
kewpe20
Forum Newbie
Posts: 7
Joined: Thu Sep 10, 2009 10:38 am

losing value of window.opener

Post by kewpe20 »

Why is the following returning a null value for window.opener while I'm on notes.php?
I need the value so I can refresh the parent page.

I make the following call to open the notes.php popup window in details.php

<a href="notes.php" class="actiontiny" target="name"
onclick="window.open('notes.php?type=3&id=1&func=add', 'Notes', 'height=510, width=600');return false;" />
Add Note
</a>

Shouldn't window.opener = details.php? It's not. It always returns Null
Post Reply