hi
i have a text area where i want to limit the number of charactersin each line.
for example if the user enters more than 50 caharacters it should automatically move the cursor to the next line
thanks
queenc
-1
Junior Poster
Recommended Answers
Jump to PostI do not know if there is a simple way. But at this moment here what you can do.
Write a event handler for onkeyup for your text area and count for every keypress if count exceeds 50 then append '\n'(new line character) by yourself.
thats it.
Your …
Jump to PostWhat have you done till now?
All 8 Replies
Luckychap
68
Posting Pro in Training
queenc
-1
Junior Poster
Luckychap
68
Posting Pro in Training
Luckychap
68
Posting Pro in Training
queenc
-1
Junior Poster
queenc
-1
Junior Poster
Luckychap
68
Posting Pro in Training
queenc
-1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.