keyPress events

C

CJ

I have a script where when the user types in the text area a preview box
reflects what they are doing. I want to add a function that would add a
line to the preview when return is pressed, but does not add a line break to
the text in the text area.

Thanks in advance for your help.

CJ
 
C

CJ

I meant to say that I did not want to add a line break tag <br> to the text
area.

CJ


I have a script where when the user types in the text area a preview box
reflects what they are doing. I want to add a function that would add a
line to the preview when return is pressed, but does not add a line break to
the text in the text area.

Thanks in advance for your help.

CJ
 

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
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top