English
<!--Add the following code to the <body> area--> <script langauge="javascript"> function check() { var l = document.theform.words.length alert("You have already entered"+document. theform.words.value.length+"letters") } </script> <form name="theform"> <INPUT TYPE="text" name = "words" value = "The number of letters in this input box can be Detected" size = 40> <input type="button" value="Detection" onClick="check()"> </form>