I have a textarea with the following HTML...
<textarea id="inputFreeContentArea" cols="16" rows="6" maxlength="96" wrap="hard"></textarea>
When the user enters text, I want the cursor to stop moving when 16 characters are entered in a line, it should not automatically move to next line, only if the user hits the enter key. Furthermore, it should not be possible to exceed 6 rows.
How can this be done?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…