Cant get basic SetHTML to work

  •  09-26-2008, 9:48 AM

    Cant get basic SetHTML to work

    Hi, I am trying to use Javascript to set the contents of the editor using:



    <script language="Javascript" type="text/javascript">



    var editor1 = document.getElementById('CE_Editor1_ID');

    editor1.setHTML('Hello World');



    </script>


    Nothing happens, I must be missing something obvious?



    thx

    Bob



View Complete Thread