Signature box (Textarea) limits the number of text and prompts in time
Updated: October 1, 2009 10:18:01 Author:
Only one line of code can limit the number of text input in the text box and give prompts in a timely manner. It is generally common in comments, comments or signature boxes.
When the entered character reaches the limit, you can no longer enter it. If you enter one, one will be deleted by the program. Isn't it interesting?
Related Articles
Solution to block div
Solutions to block Div drop-down menu by Select2008-11-11JS value transfer judgment
js value transfer judgment...2006-10-10js+css makes the text box automatically adapt to the height of the content
The text box automatically adapts to the height of the content. Friends who need it can refer to it.2010-05-05JS checkbox control operation code
The following method of implementing chckbox selection has more or less some flaws. The specific method is explained in detail in another post2008-12-12Create a personalized Select (editable)
Create a personalized Select (editable)...2006-09-09js amount text box implementation code
js amount text box implementation code, friends who need to process amount input can refer to it2012-02-02Enter content in the first input box.textarea automatically gets the value of the first file box javascript code.
Enter content in the first input box.textarea automatically gets the value of the first file box...2007-04-04JS code that invalidates the button for 5 seconds
Many experts on 51js have implemented a 5-second method to implement buttons. I have sorted out some of them, hoping to help everyone.2009-05-05Implementation code for replacing the background style of the select drop-down menu
Replace the implementation code of the background style of the select drop-down menu. Friends who need it can refer to it.2011-12-12JavaScript gets the position in the text box (text/textarea) where the cursor is located
Move the mouse to get the js code of the position of the cell in the table, test it is compatible with firefox. Friends who need it can refer to it.2009-12-12