Preventing New line in a multiline text box

Posted by Dilse Naaz on Stack Overflow See other posts from Stack Overflow or by Dilse Naaz
Published on 2010-03-16T06:36:03Z Indexed on 2010/03/16 6:46 UTC
Read the original article Hit count: 340

Filed under:
|

Hi, How to prevent the new line character at the beginning of the text entering in a multiline text box? Now, I already trimmed the white space at the beginning of the text. but i can't prevent the new line character that has to be occurred by entering the enter key on the most beginning of the text box. Please help me. thanks in advance.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ASP.NET