jquery text input length control
<p>the text input only allows three words separated by spaces, and if it exceeds 3, the user can't input anymore, is this possible using jQuery?
I can use keyup event to listen, but how do I stop user from typing in more tokens without using disabled.
This is sort of similar to the native maxlength property for the text input in html except that the maxLength in this case is the number of tokens.</p>
