/ Published in: JavaScript
different solution by PPK:\\r\\n[http://www.quirksmode.org/book/examplescripts/maxlength/index.html](http://www.quirksmode.org/book/examplescripts/maxlength/index.html)
URL: http://jsfiddle.net/BdRn2/
URL: http://jsfiddle.net/BdRn2/