Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Oct 4, 2010 0:17:12 GMT
Open source. Title: Word Count in PostsCreator: Unknown Cross-Browser: Yes Placement: Global Footer <script type="text/javascript"><!-- if(document.postForm && document.postForm.message) { var i = document.createElement("input"), x = document.postForm.message; i.value = "Word Count"; i.disabled = true; i.type = "text"; i.id = "lg"; x.parentNode.appendChild(i); document.onkeyup = function() { document.getElementById("lg").value = (x.value ? x.value.match(/\b/g).length / 2 : 0); } } //--></script>
|
|