Example demonstrates how to use Client-side
getContent and
setContent methods
for access to
HTML Editor's content from "outside" component.
Example code
<script type="text/JavaScript">function putToEditor(){ oboutGetEditor('editor').setContent(document.getElementById("userText").value);}function putToUserTextArea(){ document.getElementById("userText").value = oboutGetEditor('editor').getContent();}</script>
<textarea id="userText" name="userText" style="width:800px;height:150px;"></textarea><br><input type="button" onclick="putToEditor();" value="Set Editor's content"/><input type="button" onclick="putToUserTextArea();" value="Get Editor's content"/><br>
<ed:Editor id="editor" runat="server" submit="false" />