Programming Tutorials

Comment on Tutorial - Show how many characters remaining in a html text box using javascript By Emiley J.



Comment Added by : Bala

Comment Added at : 2014-07-22 04:48:34

Comment on Tutorial : Show how many characters remaining in a html text box using javascript By Emiley J.
Great example. To reset the initial value on readback, I used <input onblur="textCounter(this.form.recipients,this,1024);" disabled onfocus="this.blur();" tabindex="9999" maxlength="4" size="4" value="<?php echo(1024-strlen($message)); ?>" name="counter" /> characters available

That works. Thank a lot.


View Tutorial