FAQ Topic - How do I POST a form to a new window? (2012-02-08)



-----------------------------------------------------------------------
FAQ Topic - How do I POST a form to a new window?
-----------------------------------------------------------------------

Use the target attribute on the form, opening a window with
that name and your feature string in the onsubmit handler of the
FORM.

<form action="" method="post"
target="wndname" onsubmit="window.open('',this.target);return true;">

<URL: http://www.htmlhelp.com/reference/html40/forms/form.html>


The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/

--

The sendings of these daily posts are proficiently hosted
by http://www.pair.com.

.