textarea problem
Posted: Sun Jan 18, 2004 8:07 am
hi..i'm using a textarea in aa form, but i can't get correct content of it.
i know that are functions as nl2br, but i think my probelm occurs when i type continualy.
example:if i have a textarea with 10 cols and write 20 chars, i would like to see 2 lines with 10 chars and not a single line with 20 chars.
Does anyone has any idea how to catch the right carriage returns and lines feeds?
thanks.
i know that are functions as nl2br, but i think my probelm occurs when i type continualy.
example:if i have a textarea with 10 cols and write 20 chars, i would like to see 2 lines with 10 chars and not a single line with 20 chars.
Does anyone has any idea how to catch the right carriage returns and lines feeds?
thanks.