[Javascript] Closing pop-up window on form submit

Rodney Myers rodney at aflyingstart.net
Tue Sep 25 17:18:08 CDT 2001


Had not noticed that Mark!

But instead of
<input type="submit"
it should be
<input type="button"

plus the changes I mentioned earlier

Rodney

Mark Christie wrote:

> Your submit button is named "submit".  Change its name and your submit()
> functions will work again.
>
> Regards,
>    -Mark C.
>
> -----Original Message-----
> From: Jay Wright [mailto:jwright at once.com]
>
>
> <input type="submit" name="submit" value="Finish"
> onClick="self.formname.submit();opener.location.href='/main_page.jsp';self.c
> lose()"><br>
>




More information about the Javascript mailing list