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



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. hi ..........
the code is worked for me....

View Tutorial          By: pradeep at 2012-01-25 06:30:14

2. hi i have doubt in strlen()........pls explain how
View Tutorial          By: ranjith at 2010-04-18 21:50:17

3. Good one ! and simple tutorial
View Tutorial          By: Sim at 2011-02-24 01:57:53

4. Good day. I managed to get the application to work
View Tutorial          By: thabiso at 2011-06-03 09:21:32

5. I have ran this code but each port has raised an &
View Tutorial          By: Jawnie at 2012-03-29 07:23:22

6. Simple and easy code..........
View Tutorial          By: mandalson at 2011-12-24 06:50:38

7. @ anub : This is because you need to add external
View Tutorial          By: Sushil at 2009-09-09 12:24:23

8. Thanx................!!!!!!!!!!!
View Tutorial          By: ankita at 2012-01-21 19:16:54

9. java.lang.NoSuchMethodError: main

<

View Tutorial          By: mark at 2010-09-27 03:46:48

10. so what about, if i need to remove these letters f
View Tutorial          By: need Help at 2009-11-12 08:40:31