Submitting a form to a new window
If you want to open the result of a form submission in to a new window you can without having to go via the server. This is how you would do it using Javascript.
Say we have a form like the following:
<form class="windowForm" action="/your/post/page" method="post">
<input type="text" name="name"
value="Dave Taylor" />
<input type="submit" value="Send" />
</form>
Ordinarily when submitted this will send the current page to the action location of the form. However there are times when you might want to post the form in to a new window are an iframe within the page (say inside a dialog).
Dave Taylor - Software Engineer