character count in vbscript from asp

admin

Administrator
Staff member
I need to count the number of characters written in a <textarea name=basis id=basis></textarea>

Can anyone tell me how to pass the textarea to a VBScript function so that it will count the characters typed as I type.

SCRIPT language=VBScript>
Sub FunctionName(target)


Can I pass it as
<textarea onClick="FucntionName this"</textarea>

or soemthing like it.

Also after dong a count on it how do I access the field that will display the character count?

document.target.form1.fieldname ?

Please any suggestions will be appreciated
 
Back
Top