title: Trim to remove white space
body: <p><code>jQuery</code> <code>trim</code> not working. I wrote the following command to remove white space. Whats wrong in it?</p>
  
  <pre><code>var str = $('input').val();
  
  str = jquery.trim(str);
  console.log(str);
  </code></pre>
  
  <p><a href="http://jsfiddle.net/dMr2C/" rel="noreferrer">Fiddle</a> example.</p>