title: Submit form to another page (which is different from the page used in ACTION)
body: <p>I have a form like this:</p>
  
  <p>index.php</p>
  
  <pre><code>&lt;form method="post" action="send.php"&gt;
    &lt;textarea name="msg" id="msg"&gt;&lt;/textarea&gt;
    &lt;input type="submit" value="Send" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>So, if I enter something in textarea and clicked on "Send", it is submitted to "send.php" page. But I want to include another button for previewing it. That is, when this button is clicked, the above form is submitted to "preview.php" which will be opened in a new blank window/tab (original page ie. index.php will be there intact). This is to display a preview of the message, that the user is going to send.</p>
  
  <p>I do not know how to do this.</p>