JQuery Trim as Text Enters field
<p>Hi I have some code..</p>

<pre><code>$(document).ready(function() {
    $("#inputPageName").keyup(function () {
          var value = $(this).val();
          $("#inputPageHandle").val(value);
    }).keyup();
});
</code></pre>

<p>Basically I need to create a page handle in a hidden field so when the user type in the PageName field it update the PageHandle field however I want to use jQuery.trim() to remove the spaces that the user my put in the PageName field</p>

<p>Any ideas?</p>
