how to get the number of line in a multiline text box

G

gh0st54

hi,

I would like for the user to enter some text in a multiline textbox.

how can I determine the number of lines entered?

thanks
 
T

thoean

scan the entered tag for line breaks ("\n"), either with java script on
the client side, or on the server.


thoean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,566
Members
47,202
Latest member
misc.

Latest Threads

Top