Limit Characters and LinesThis script limits characters and lines within a textarea. You specify the characters per line, total lines and total characters. The script updates 2 counter fields (remaining characters and remaining lines). Implement an alert message in the function or use the counter fields for form validation. Works in most browsers.
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!