Posted by Jonathan N. Little on 08/27/05 03:21
Trevor wrote:
> I have an DIV with the contentEditable attribute. How can I get the
> value of the content within that DIV after the user has edited it for
> further processing. I'd like to store the HTML code within the DIV to a
> hidden INPUT. Thanks for your help!
>
1: I know of no such DIV attribute 'contentEditable'.
2: Why would you use a DIV for user input? There are a whole host of
defined form element for that purpose! Try a FORM with a
TEXTAREA...unless your intentions involve subterfuge...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|