Download http://keith-wood.name/zip/jquery.maxlength.package-1.0.2.zip
Use:
<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="jquery.maxlength.js"></script>
</head>
<body>
<script type="text/javascript">
$(document).ready(function(){
$('#textarea_1_1').maxlength();
});
</script>
<textarea cols="20" rows="2" name="textarea_1_1" id="textarea_1_1"></textarea>
</body>
</html>
Use:
<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="jquery.maxlength.js"></script>
</head>
<body>
<script type="text/javascript">
$(document).ready(function(){
$('#textarea_1_1').maxlength();
});
</script>
<textarea cols="20" rows="2" name="textarea_1_1" id="textarea_1_1"></textarea>
</body>
</html>
Comments
Post a Comment