title: HTML form with two submit buttons and two "target" attributes
body: <p>I have one HTML &lt;form&gt;.</p>
  
  <p>The form has only one <code>action=""</code> attribute.</p>
  
  <p>However I wish to have two different <code>target=""</code> attributes, depending on which button you click to submit the form. This is probably some fancy JavaScript code, but I haven't an idea where to begin.</p>
  
  <p>How could I create two buttons, each submitting the same form, but each button gives the form a different target?</p>