title: Check for empty space using javaScript
body: <p>I have a text box.</p>
  
  <pre><code>&lt;input type="text" name="FirstName" value="Mickey"&gt;
  </code></pre>
  
  <p>I want the user to prevent from entering empty space or tab or new line.Spaces between characters is allowed. How can I do that? Can some one give me a working demo? <a href="http://jsfiddle.net/2cYeu/" rel="nofollow">I have this now</a></p>