title: Replaced %20 in URL with a +
body: <p>I was wondering is it possible to replace the %20 to a + whenever I click the button to add the textbox value to the url.</p>
  
  <pre><code>$(function () {
      $('#btn').click(function() {
          var url = "www.urlname.com/results.html?value=";
          url += $('#textbox').val();
          window.location = url;
      });
  });
  </code></pre>
  
  <p>Thanks</p>