Click to See Complete Forum and Search --> : Need help, Please!!


D.S.R.Clark
07-24-2003, 10:15 PM
I did this on my own a couple of weeks ago, but I did not file it, so I have forgotten:

In a "child" window, a button that closes the child and directs parent to a new URL.

<a target="_parent" href="ww6.aitsafe.com" onclick="window.close(); return false">
<Input Type="Button" Value="Buy Pattern"></a>


I can not figure out what I have done wrong. I'm ghoing nutz!

Thanks in advance.

pyro
07-24-2003, 10:18 PM
How about this:

<input type="button" value="Buy Pattern" onclick="window.opener.location.href='somepage.htm'; window.close();">

D.S.R.Clark
07-24-2003, 10:28 PM
Thanks a lot. Always look for you on this forum.

Thanks again!!
David Clark

pyro
07-24-2003, 10:33 PM
:D Kewl Beans...

Happy to help! Cheers...