Get content using javascript doesn't work on Mozilla

  •  03-20-2005, 1:38 AM

    Get content using javascript doesn't work on Mozilla

    On Firefox, Mozilla, or Netscape browsers,  editor.GetDocument() throws a javascript exception.
     
    Here's a code exerpt, assume "txtContent" as the ID for the CuteEditor control:
     
        var editorDoc = document.getElementById('CE_txtContent_ID').GetDocument();
     
    This script works in Windows IE,  but not any other mozilla based browsers.
     
    Wrapping it in a try/catch block throws an exception that "GetDocument" is not a method.
     
    Any ideas?
View Complete Thread