Question
Getting CFTEXTAREA value
When I use:
<cftextarea name="stuff" id="stuff" html="yes" enabled="Yes" visible="Yes" richtext="No" cols="30" rows="5"></cftextarea>
I can bind a div called content to stuff with the following:
document.getElementById('content').innerHTML=document.getElementById('stuff').value;
As soon as I turn richtext="yes" it breaks.
Does anyone know of a simple solution to this?
<cftextarea name="stuff" id="stuff" html="yes" enabled="Yes" visible="Yes" richtext="No" cols="30" rows="5"></cftextarea>
I can bind a div called content to stuff with the following:
document.getElementById('content').innerHTML=document.getElementById('stuff').value;
As soon as I turn richtext="yes" it breaks.
Does anyone know of a simple solution to this?
