title: Javascript textarea word limit
body: <p>I know that HTML has a <code>maxlength</code> attribute, but I want to limit the number of <em>words</em> typed not characters.</p>
  
  <p>After 10 words the user should be able to move his cursor left &amp; edit the text, but not add any more words.</p>
  
  <p>So how can I stop the cursor?</p>
  
  <p>Any suggestions?</p>
  
  <p>Only javascript please.</p>