title: Code clears page instead of going to new site
body: <p>I've been trying to create this chrome extension that you enter an address and click a button and it goes there. This may sound like a stupid idea but somehow a server block on a site is bypassed by chrome extensions. This is my current code:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Website Opener&lt;/title&gt;
     &lt;style type="text/css"&gt;
      body 
      {
    font-family: "Lucida Grande";
        height: 100%;
      }
     &lt;/style&gt;
     &lt;script&gt;
        $(document).ready(function() {
        $('#url').change(function() {
          var newurl = $('#url').val();
          $('a.target').attr('href', newurl);
        });
        });
     &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;form&gt;
        &lt;input type="text" id='url' value='http://'&gt;
        &lt;br&gt;
        &lt;p&gt;&lt;a class="target" href=""&gt;Go!&lt;/a&gt;&lt;/p&gt;
      &lt;/form&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What it currently does is just make the page blank or clear the input box instead of going to the new site.</p>
  
  <p>I have tried javascript .open() method, this is trying jQuery. I'm mainly wondering if there are any other ways to do this or if I'm missing something.</p>