clear editor1 using javascript

  •  01-10-2011, 1:32 PM

    clear editor1 using javascript

    Is there a way to clear the editor using javascript?  I have the following javascript but its not working.  Thanks for any help.
     
     function ClearEmailTextbox()
       {  
       document.getElementById('ctl00$ContentPlaceHolder1$Editor1').value = "";
       } 
     
    Below is the vb.net codebehind
                Editor1.Attributes.Add("OnFocus", "ClearEmailTextbox()")
     
View Complete Thread