title: How to open link in new tab on submit
body: <p>I have a form like the following:</p>
  
  <pre><code>&lt;form action='&lt;?=BASE_PATH?&gt;hostel-details' method='GET'&gt;
  
      &lt;input type='hidden' name='hname' value='&lt;?php echo $hostels['name'];?&gt;'&gt;
      &lt;input type='hidden' name='city' value='&lt;?php echo "$citi" ;?&gt;'&gt;
      &lt;input type='hidden' name='date_st' value='&lt;?php echo "$startdate" ;?&gt;'&gt;
      &lt;input type='hidden' name='date_end' value='&lt;?php echo "$enddate" ;?&gt;'&gt;
      &lt;input type='hidden' name='num' value='&lt;?php echo "$Num" ;?&gt;'&gt;
      &lt;input type='hidden' name='propnum' value='&lt;?php echo "$propNum" ;?&gt;'&gt;
      &lt;input type='hidden' name='guestnum' value='&lt;?php echo $guests?&gt;'&gt;
  
      &lt;a href='#' onclick='this.parentNode.submit()'&gt;More Info&lt;/a&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When I click on 'More Info', the link is opening on the same page. </p>
  
  <p>If I add the <code>target="_blank"</code> attribute, the link opens in a new tab but not in current tab.</p>
  
  <p>But I want the link to open both in the current tab and in a new tab. </p>
  
  <p>Is there any way to do that?</p>