|
Post by Schubaltz on Jul 3, 2007 22:40:34 GMT -5
Description: Places a field below the textarea on the post page that keeps track of your character use.
Source: Open
Cross-browser: Yes
Global Footer <script type="text/javascript"> <!-- // Character Count Field
if(document.postForm && document.postForm.message) { var i = document.createElement("input"); i.type = "text"; i.disabled = "disabled"; i.id = "ts"; i.value = document.postForm.message.value.length; document.postForm.message.parentNode.appendChild(i); document.onkeyup = function() { document.getElementById("ts").value = document.postForm.message.value.length; } } //--> </script>
|
|