Javascript mailto function loading issue
<p>I'm using JavaScript <code>mailto</code> function and when clicking on the button the mail loads in the same tab. How can I load the mail in a new tab? </p>

<p>Here's my code:</p>

<pre><code>&lt;input type="button" value="Apply" name="apply" onclick="mailJob('Sample');"&gt;
</code></pre>



<pre><code>function mailJob(code)
{
    window.location="mailto:example@gmail.com?subject="+code;
}
</code></pre>
