Page 1 of 1

losing value of window.opener

Posted: Tue Oct 20, 2009 9:06 pm
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