pasteHTML

  •  04-12-2006, 1:45 PM

    pasteHTML

    I'm using a trial version of CuteEdit. When I use pasteHTML JavaScript API call, I'm getting an error message "Object doesn't support this property or method.".
     
    Here is the code:
                <script>var editor = document.getElementById("<%= Editor1.ClientID %>"); alert(editor); alert(editor.innerHTML); editor.pasteHTML("axitapatla");</script>
     
    The first alert shows "[object]" and the second shows the inner HTML of CE_Editor1_ID. Why pasteHTML doesn't work?
     
    Thank you,
    Alex
View Complete Thread