Maxlength property in Textbox does not work
-
Hi everybody,, I have a multiline textbox, I set its maxlength to 50, but it does not work well, it still allows to enter more than 50 chars. how to solve this ? Regards
Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
-
Hi everybody,, I have a multiline textbox, I set its maxlength to 50, but it does not work well, it still allows to enter more than 50 chars. how to solve this ? Regards
Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
<textarea name="mytext" onkeypress="return (this.value.length <= 50);" ><textarea>
This does the trick. ;)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript -
<textarea name="mytext" onkeypress="return (this.value.length <= 50);" ><textarea>
This does the trick. ;)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript