Opening new window and allowing & sign/ numbers
<p>Goal: when users type in anything in an input box, it will open a new window and append &amp;yuri=0 to it.
<br>
<br>
Current code:
<br></p>

<pre><code>    $(function() {
    $('.baseUrl').click( function() {
    window.location = $(this).attr('href')  +  $('.appendUrl').val() + '&amp;yuri=0'; 

    return false;


   });
   });
</code></pre>

<p>The HTML:</p>

<pre><code> &lt;input type="text" class="appendUrl" /&gt;&lt;br&gt;
 &lt;a href="http://" class="baseUrl"&gt;Click Here&lt;/a&gt;
</code></pre>

<p><br>
Right now it opens in the same window, and the &amp; and =0 are not showing up properly.<br>
Any insight would be great.</p>
