title: Jquery is not working in localhost wamp
body: <p>This is my code this works at jsfiddle
  i used ready function already but is still not functioning
  there are no error in google chrome f12+consoles.
  I'm still new at jquery I don't know what's wrong with this.</p>
  
  <pre><code>    &lt;script type='text/javascript'&gt;
      src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js'&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
       $(document).ready(function(event) {   
      $('input').bind('keypress', function (event) 
          var regex = new RegExp("^[a-zA-Z ]+$");
          var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
          if (!regex.test(key)) {
             event.preventDefault();
             return false;
          }
      });
      });
      &lt;/script&gt;
  
  &lt;input&gt;
  </code></pre>