faqts : Computers : Programming : Languages : JavaScript : Forms : TextAreas/TextFields

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 38 people (24%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

how do i get the enter key to cause a line break in a textarea on netscape for unix?

Jul 16th, 2003 04:25
Marc Brevoort, Jonathan Bass,


The enter key normally generates <p> instead of <br>. Pressing 
shift-enter will generate <br>. It should be possible to capture the
enter key and convert it to a shift-enter keypress.