[Javascript] How can i strict the length of TextAread form element ?

Josiah Gordon jgordon at directfile.com
Fri Dec 21 18:08:56 CST 2001


Have you tried checking it's length with the onBlur event (or something
similar)? Also, you could intercept keystrokes and alert the user when they
reach the limit (and cut-off their ability to add characters).

Another, passive, way to do it is illustrated at
http://www.mobile.att.net/messagecenter/


Hope that helps,

Josiah Gordon

-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of M. Amin
Sent: Friday, December 21, 2001 3:31 PM
To: java-script
Cc: WDVL
Subject: [Javascript] How can i strict the length of TextAread form
element ?


Dear All,
  I tried to strict the length of TextAread form element  using the
maxlength attribute but
it did n't work. So, How can i strict the length of TextAread form element ?

Any help will be appreciated,

Regards,
 M. Amin

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.310 / Virus Database: 171 - Release Date: 12/19/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.310 / Virus Database: 171 - Release Date: 12/19/2001




More information about the Javascript mailing list