J
JStrummer
I'm building an ASP-based CRM system; a user sees the original
message, posted from the database and can hit a Reply button to
generate a TEXTAREA field on the next page that houses the original
messages and allows them to type a reply and hit a "Send" button.
The original message from the database includes natural line breaks,
as submitted--it doesn't contain any HTML breaks.
I would like to accomplish two things:
1) Add a "> " before each line of the original message, as contained
in the reply
2) In conjunction with the "> " preceding each line, break the
original messge string into logical line lengths that fit inside the
textarea field and don't wrap
Any help would be appreciated.
message, posted from the database and can hit a Reply button to
generate a TEXTAREA field on the next page that houses the original
messages and allows them to type a reply and hit a "Send" button.
The original message from the database includes natural line breaks,
as submitted--it doesn't contain any HTML breaks.
I would like to accomplish two things:
1) Add a "> " before each line of the original message, as contained
in the reply
2) In conjunction with the "> " preceding each line, break the
original messge string into logical line lengths that fit inside the
textarea field and don't wrap
Any help would be appreciated.