FAQ Topic - How do I POST a form to a new window? (2013-06-19)

2 views
Skip to first unread message

FAQ server

unread,
Jun 18, 2013, 7:00:00 PM6/18/13
to
-----------------------------------------------------------------------
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.

Reply all
Reply to author
Forward
0 new messages