Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • From: javascript@xxxxxxxxxx (Josiah Gordon)
  • Subject: [Javascript] How can i strict the length of TextAread form element ?
  • Date: Fri, 21 Dec 2001 16:08:56 -0800

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@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]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@xxxxxxxxxx
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