If you can use IE5 just add an editable property to a div tag like so.
<div contenteditable="true"></div>

Then put a textarea in a form and use the onsubmit to fire a script that
copies the innerText of the div tag to the innerText of the textarea and
submit it to your database table.

----- Original Message -----
From: "Jeff Fongemie" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 02, 2001 5:52 PM
Subject: returns in text boxes?


> Hello all,
>
>   Is there a way to have a multi-line textbox recognize carriage
>   returns? I have a couple of sites using a simple form for content
>   updates and I'd love for my clients to be able to just hit "enter"
>   and have a new line start that will be recorded in the database, and
>   then on the final <cfoutput>.
>
>   I've looked a little at the custom tags for WYSIWYG style entry
>   forms, but I don't need anything that complicated or complex.
>
>
> Best regards,
>  Jeff Fongemie                          mailto:[EMAIL PROTECTED]
> ------------------------
> Internet Guns For Hire
> (603) 356-0768
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to