Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
How to clear WebHtmlEditor editor content using javascript
posted

Hi,

I am using WebHtmlEditor (Netadvantage 7.2 web)  for displaying existing content and for adding new content.
I need to clear the existing content when I click on 'Add New' link from client side.

How do I clear the content of the WebHtmlEditor through javascript.
I have defined control like this.

<ighedit:WebHtmlEditor ID="igHtmlEditor" runat="server">

I was trying something like --- document.getElementById("<%=igHtmlEditor.ClientID%>").innerHTML = ' '

but the  ClientID
table id  and I couldnt able to achieve this.

What is the correct way to clear the content of  webhtmleditor from client?




 

 

 

Parents Reply Children
No Data