Programming Tutorials

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



Comment Added by : Rajasri

Comment Added at : 2015-01-20 10:11:08

Comment on Tutorial : Show how many characters remaining in a html text box using javascript By Emiley J.
There is a major bug here. When i press backspace key, even then the counter keeps increasing. So in textCounter(), check if the key pressed in backspace/ delete . If yes, reduce the counter. If it is an alphabet/number increase the counter

View Tutorial