title: href onclick javascript right click
body: <p>I have a function in JavaScript something like</p>
  
  <pre><code>function continents(post_id,continent,countries){
     location.href="/serv/continent.php?param="+post_id+"&amp;"+continent+"/"+countries;
  }
  </code></pre>
  
  <p>and then I have a anchor tag in my php page</p>
  
  <pre><code>&lt;a href="javascript: void(0)" onclick="continents('&lt;?php echo $row['sno']; ?&gt;','&lt;?php echo $url_con_name; ?&gt;','&lt;?php echo $url_contries; ?&gt;')" &gt;
     &lt;div&gt;some date here &lt;/div&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Now the link is working fine but when I right click on that link I don't find <strong>open link in new tab</strong> and <strong>open link in new window</strong>.</p>
  
  <p>How can I solve this without removing the function.</p>