[Javascript] coding for the <enter> key

Carl Adler carl at carladler.org
Wed Mar 12 14:53:30 CST 2003


This is not much help but might be of at least negative interest:

http://www.image-ination.com/backslash.html

Carl

From: bill.marriott at agric.nsw.gov.au
Reply-To: javascript at LaTech.edu
Date: Thu, 13 Mar 2003 07:20:07 +1100
To: javascript at LaTech.edu
Subject: [Javascript] coding for the <enter> key



Hi Everyone, 

Does anyone know how to get HTML to format an embedded carriage return.

eg. 1. something 
       2. something else
       3. something different

ends up as 

       1. something
       2. something else
       3. something different

if it is loaded from server data  into a text area form element , but if it
is just written to the page directly from the server it ends up as

       1. something 2. something else  3. something different

which is not as pretty

thanks 

Bill Marriott
Analyst/Programmer
Information Technology
NSW Agriculture
Orange

Ph.  02 6391 3657
Fax. 02 6391 3290


This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient or received
it in error, please delete the message and notify sender. Views expressed
are those of the individual sender and are not necessarily the views of
their organisation.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030312/3bcb2496/attachment.htm>


More information about the Javascript mailing list