in reply to (OT) To open a form in a new window

Do two things:
  1. In the onsubmit event of the form, open a new window with a recognizable, hopefully unique name. You can set it up however you like.
  2. Add a target attribute for the form, with this window's name as the attribute value.
Now, the result of the query will appear in this new custom window.

In addition, you could set the focus on this window when you open it, with the win.focus() call. This will make this window come to the front, in case it already existed.

  • Comment on Re: (OT) To open a form in a new window