[thelist] Submitting a form to a pop-up window
Carlos Carter
ccarter at amnh.org
Tue Feb 26 18:53:01 CST 2002
>Hello,
>
>Is there a way to submit a form to a popup window? I wish to use a
>javascript (window.open) for the popup.
>
>TIA
>
>Kevin
>mail7033 at yahoo.com
>
>--
>For unsubscribe and other options, including
>the Tip Harvester and archive of thelist go to:
>http://lists.evolt.org Workers of the Web, evolt !
I think this might work... use an onSubmit handler to call a function
that will open the window in the dimensions you please.
So...
<form name="aform" action="popup.html" method="post"
target="form_popup" onSubmit="make_PopUp();">
function make_PopUP()
{
var win =
window.open("popup.html","form_popup","width=200,height=200,menubar=ye
s,scrollbars=yes toolbar=no,location=no,status=no,resizable=yes");
win.focus();
}
There yo go,
Carlos
More information about the thelist
mailing list