Hi Guys,
I am a little stuck as to how to open a new window & refresh the parent window using javascript.
1. User clicks link which opens a new window
2. Upon clicking the link the parent window is refreshed.
3. The user is able to click a link in the window that opened (close window)
I have tried using this to refresh the window in the page that opens:
Code:
<a href=\"javascript:top.close();top.opener.location.reload();\" class=headings title='continue shopping'>Continue Shopping</A>
And this to open the window:
Apart from not refreshing as soon as the window is opened (obviously), I have received warnings from the browser saying that the webpage is tryign to close the window.
Can anyone possibly help with this?