Struggling with PasetHTML()

  •  09-16-2005, 12:36 PM

    Struggling with PasetHTML()

    Here's how I have the control in my ASP.NET page:
     
    <ce:editor id="Editor1" runat="server" width="680" height="550"></ce:editor>

    But this javascript gives me an error:

    var

    editor1 = document.getElementById('CE_Editor1_ID');

    editor1.PasteHTML('This is a test');

    I get this error:

    Error:  Object does not support this property or method.

    I must have a setting wrong with the editor control but I can't figure it out.  Any help would be appreciated.  Thanks

     
     
View Complete Thread