title: How to disable/remove only first space on input field?
body: <p>Good morning everybody!</p>
  
  <p>I have a case, when I should prevent users to entering space as a first character on input field.</p>
  
  <p>I have a demo here: <a href="http://jsbin.com/foyetolo/2/edit" rel="nofollow">http://jsbin.com/foyetolo/2/edit</a></p>
  
  <p>It works only when you hit spacebar for first time. When you start typing other characters and select whole text in input (ctrl+a) and then hit the space bar it adds the space in the beginning of input field.</p>
  
  <p>So, how to check if on keypress/keydown if the first character will be a space, return false and not allow it to type the space as a first character?</p>