Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: clear editor1 using javascript
Re: clear editor1 using javascript
01-10-2011, 4:12 PM
Eric
Joined on 08-05-2009
Posts 1,269
Re: clear editor1 using javascript
Reply
Quote
Dear lonnie,
Please try the following code:
function clearEditor()
{
// get the cute editor instance
var editor1 = document.getElementById('<%=Editor1.ClientID%>');
// Set the editor
editor1.setHTML("");
}
Thank you for asking
Eric@cutesoft.net
View Complete Thread