From: FAQ server on 26 Feb 2010 19:00 ----------------------------------------------------------------------- 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;"> 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.
|
Pages: 1 Prev: getElementsByName() Next: FAQ Entry Proposal: What is (function(){ /*...*/ })() ? |