Simple Textarea With Remaining Characters Counter (Free Download)
Welcome to a tutorial on how to create a text area with a remaining character counter in Javascript. Limiting the number of characters in a text field is as easy as setting the maxlength, but how do we add a “countdown” to it? <textarea id=”demoA” maxlength=”160″></textarea> <div id=”demoB”>160</div> <script> var a = document.getElementById(“demoA”), b = …
Simple Textarea With Remaining Characters Counter (Free Download) Read More »