I have 1 textbox and 1 label.
on keyup event, i am calling javascript function and changed text of label also easily.
But if i used htmleditorextendor with textbox not understand how to achieve this here.
<script type="text/javascript">
function copyText() {
src = document.getElementById('<%=txtgreeting.ClientID%>').value;
document.getElementById("ContentPlaceHolder1_lblAlumni4Name").innerHTML = src;
}
</script>
<asp:TextBox ID="txtgreeting" TextMode="MultiLine" Rows="4" runat="server" onKeyUp="copyText()"></asp:TextBox>
<ajaxToolkit:HtmlEditorExtender ID="HtmlEditorExtender1" EnableSanitization="false" TargetControlID="txtgreeting" runat="server">
</ajaxToolkit:HtmlEditorExtender>