FAQ Topic - How do I POST a form to a new window? (2009-11-06) -
11-05-2009
, 07:00 PM
-----------------------------------------------------------------------
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=""
target="wndname" onsubmit="window.open('',this.target,'features');r eturn true;">
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. |