Prev: convert string to currency
Next: Do not assign undefined to window event handlers in IE/MSHTML (was: Trigger hover pseudo class using javascript?)
From: FAQ server on 28 Apr 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. |