Example demonstrates how to access
HTML Editor's content at current selection/caret position from "outside" component.
Example code
<script type="text/JavaScript">function Assign(){ oboutGetEditor('editor').AssignClassName("alert");}</script>
<input type="button" onclick="Assign();" value="Make selected text 'alert' class"/>
<ed:Editor id="editor" runat="server" />