title: javascript/jquery to change location.href
body: <p>This is my HTML</p>
  
  <pre><code>        &lt;form id="procurar-novo"&gt;
            &lt;input type="text" name="procurar" placeholder="Pesquisar no Site" value=""&gt;
            &lt;input id="procurar-submit" type="button" value="&amp;rsaquo;"&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>And this is my jQuery</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    $(document).ready(function(){
      $('#procurar').submit(function(e) {
        e.preventDefault();
        //edited
        window.open = ('http://www.psicotropicus.org/'+'/busca'+encodeURIComponent($('#procurar-submit').val()), '_blank');
        return false;
      });
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>The ideai is that by clicking on submit, the javascript/jquery will get the #procurar-submit value and add it on the URL and redirect the user.</p>
  
  <p>The _blank still not works</p>
  
  <p>Thanks in advance.</p>