[20081201]--limit the length of textarea in JavaScript
来源:互联网 发布:淘宝代购服务点加盟 编辑:程序博客网 时间:2024/06/07 00:55
<html>
<script language="javascript">
var texta = document.form1.texta;
if(texta.value.length > 100)
{
alert("please input within 100 characters!");
return;
}
</script>
<body>
<form name="form1" action="" >
<textarea name="texta" rows="" cols=""></textarea>
</body>
</html>
- [20081201]--limit the length of textarea in JavaScript
- Tkinter entry limit the length of input.
- Warning: Unknown: POST Content-Length of 53 bytes exceeds the limit of 0 bytes in Unknown on line 0
- Warning: POST Content-Length of 81360713 bytes exceeds the limit of 3145728 bytes in Unknown on line
- "The length of the string value exceeds the length configured in the mapping/parameter."}
- the Byte length of Chinese Character in Oracle.
- lots of "GET variable length limit exceeded"
- the length of the string
- Length of string in bash
- Compute the maximal length of the increasing subsequence in an array
- calculate the length of char*
- 【leetcode】:Length of the LastWord
- Is there a limit to the number of columns in an HBase row?
- What is the difference between Sprint and Iteration in Scrum and length of each Sprint?
- How do you get the length of a string in jQuery?
- The max length of a byte array
- [repost]State of the Art JavaScript in 2016
- JavaScript String Byte Length of UTF-8
- 谈龙芯的推广
- Changing the description of the standard SAP fields
- ARIS介绍
- 常用的身份认证协议
- 小佳弱弱学习——php程序设计(一)
- [20081201]--limit the length of textarea in JavaScript
- my blog
- s
- ddd
- fffffffffffff
- sfd
- Websphere产生大量javacore与heapdump文件的分析
- 存取修饰符
- Linux多线程编程