I'm wondering if i can use javascript to set the content of the cute editor. for example:
<input type="text" name="test" id="test" value="">
produces an empty input field. i can use javascript to then fill it:
document.getElementById('test').value="i love lamp";
and the input field now has the "i love lamp" text inside it.
we were using the ASP Edit tool and that had two textareas... one was the <input type="text" name="Editor1_HTMLContent" value="blah blah blah"> and that "blah blah blah" was the default content. The other was a div, named "Editor1_editbox". I see you can set the original text using cute editor by doing editor.text="blah blah blah" editor.draw(). however, i want to use javascript to reset that value after the editor has been drawn. in ASP Edit, i had to use javascript to set the value of the Editor1_editbox, not the Editor1_HTMLContent. I just want to confirm that i can do this with Cute Editor by calling document.getElementById('Editor1_sandbox').innerHTML="new message";
Thanks!
- Lindsay