Re: Access Cute Editor Text from client side javascript (before post)

  •  12-02-2004, 12:20 PM

    Re: Access Cute Editor Text from client side javascript (before post)

     
    please try :
     
    using this to get the client id:
     
    var editor1=document.getElementById('<%=Editor1.ClientID%>');
     
    and you could get/set the content as :
     
    var editdoc=editor1.GetDocument();

    saveHTML(editdoc.body.innerHTML);

    editdoc.body.innerHTML=loadHTML();

    ------
    Regards , Terry .
View Complete Thread