Hi sorry if there was some confusion on the last post.
But all I want to be able to do is close a child window.
If I open a window called 'mywin'. How can I then close this window?
-----------------------------------------------------------
var mywin = window.open('-----------------------------------------------------------
This will open the window correctly.
-----------------------------------------------------------
<a href="javascript:mywin.close();">close child window</a>
However the code above wont close my window
can anyone help me?
If anyone knows it would also be helpful to know how to load child window functions from the parent window.
Many Thanks
But all I want to be able to do is close a child window.
If I open a window called 'mywin'. How can I then close this window?
-----------------------------------------------------------
var mywin = window.open('-----------------------------------------------------------
This will open the window correctly.
-----------------------------------------------------------
<a href="javascript:mywin.close();">close child window</a>
However the code above wont close my window
can anyone help me?
If anyone knows it would also be helpful to know how to load child window functions from the parent window.
Many Thanks