RE: Form Target

by "Todd Philipps" <todd(at)>

 Date:  Fri, 11 Feb 2000 13:19:34 -0800
 To:  <hwg-languages(at)>
  todo: View Thread, Original
been there, done that...didn't work

here is what I got to work. Any feedback would be appreciated.

my main page (index) onLoad:
function openWindow(url, name) { = 'main'
	popupWin =, name,

Popup form code:
<form name="formname" action="newpage.asp" target="main" method="post"

The piece I was missing was the = 'main'


-----Original Message-----
From: owner-hwg-languages(at) [mailto:owner-hwg-languages(at)]On
Behalf Of Nicholson, Dale

Use this in your HREF for your target attribute:


<A HREF="" TARGET="_top">click me</A>

Dale Nicholson

-----Original Message-----
From: Todd Philipps [mailto:todd(at)]

Hi all!

Here is my delima:

I have a page (index) that spawns a popup window (popup).  In the popup,
there is a form with one text field.  The action on that form is calling an
ASP page.  I want that action to happen in the index page, also I want the
popup to close.

How can I set the TARGET to point to the parent window?

Todd Philipps

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA