open a url on change of dropdown
<p>"I need to navigate to a url on change of dropdown such that it would have done in by clicking on a link as <code>&lt;a href="www.abc.com" target="_blank"&gt;</code></p>

<p>My dropdown is </p>

<pre><code>&lt;select onchange="goTo(this);"&gt;
                        &lt;option selected="selected" disabled="disabled"&gt;Back to..&lt;/option&gt;
                        &lt;option value="0"&gt;Manageassesment
                        &lt;/option&gt; &lt;option value="1"&gt;Job post
                        &lt;/option&gt;
                    &lt;/select&gt;
</code></pre>

<p>goTo function is </p>

<pre><code>function goTo(ctrl){
document.location.href = (ctrl.selectedIndex) ? "www.qwe.com":"www.asd.com";
</code></pre>

<p>}</p>

<p>Now the problem is this goTo opens the url in same window but i want that it should do as it would be doing in clicking on an anchor with target="_blank"</p>
