I would like to be able to count the number of HTML characters used in the background and limit the user from entering more. Since the database can be abused and such.
I have found one such javascript which counts the number of characters in a text area but I was wondering how to integrate this this you call up a file and not a text area.
Also even if I was able to do it I dont know if the system could could all the characters in HTML as well.
Example
<textarea rows="12" cols="83" name="text" tabindex="9" onKeyDown='onKeyEventCounter(document.postarticle.text);' onKeyUp='onKeyEventCounter(document.postarticle.text);'>
Thank you
Kieran Mullen
I have found one such javascript which counts the number of characters in a text area but I was wondering how to integrate this this you call up a file and not a text area.
Also even if I was able to do it I dont know if the system could could all the characters in HTML as well.
Example
<textarea rows="12" cols="83" name="text" tabindex="9" onKeyDown='onKeyEventCounter(document.postarticle.text);' onKeyUp='onKeyEventCounter(document.postarticle.text);'>
Thank you
Kieran Mullen