title: Open New Window on Submit Button with "parent.location"
body: <p>I'm having a hard time getting a submit button to open a link in a new window.</p>
  
  <p>The button code:</p>
  
  <pre><code>&lt;input type="button" name="buy" value="Buy" onClick="parent.location='myurl'" /&gt;
  </code></pre>
  
  <p>I tried to add a target="_blank" to the form, but that didn't help.</p>
  
  <p>Is it possible to open a new window using this "parent.location" method or any equivalent.</p>
  
  <p>I'm afraid my shopping cart script won't work any longer if I change the code too much.</p>
  
  <p>Best regards,</p>
  
  <p>Erik Chan</p>