title: Opening form result in new window
body: <p>I have form with two buttons submit.</p>
  
  <p>The code is:</p>
  
  <pre><code>&lt;form action="index.php" method="get"&gt;
      &lt;table cellpadding="2" cellspacing="3"&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;input type="text" name="q" size="20" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;
                  &lt;input type="submit" name="site" value="site search" class="submit" /&gt;&amp;nbsp;
                  &lt;input type="submit" name="google" value="google search" class="submit" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>What I want is that if you press the button, Google results will open in a new window. I think it should be done with JavaScript.</p>