Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Discussion:
count characters online



BRULIK
New User

Feb 20, 2005, 7:52 AM


Views: 31788
count characters online

This code for count characters :

Code
 <form action="/pr/" method=POST name="infosite2" id="infosite2"> 

<input type="hidden" name="PHPSESSID" value="e398822581fde84d431f83e30aa745f6" />

<textarea name='fild[4]' wrap='VIRTUAL' cols=35 style='350px' rows=4
onfocus="document.infosite2.count1.value=1000-this.value.length"
onkeyup="document.infosite2.count1.value=1000-this.value.length"
onkeydown="document.infosite2.count1.value=1000-this.value.length"
onkeypress="document.infosite2.count1.value=1000-this.value.length">
</textarea>
<input type='text' name='count1' value='1000' size=6 disabled
style="font-family: Arial, Helvetica, sans-serif;font-size: 14px;color: red;border: none;">

</form>



In textarea with htmlarea not working :(

PLEASE HELP.