[Javascript] input length

Kelly Zhu kzhu at tstc.edu
Wed Mar 6 15:03:50 CST 2002


How do you enforce user input length?  For example, the area code of a phone
number should be 3 digits long.  If a user types only 2 digits, an alert
message would pop up.

Thanks.

Kelly




More information about the Javascript mailing list