could not get innerText in Firefox

  •  04-28-2010, 10:54 PM

    could not get innerText in Firefox

    var editor1 = document.getElementById('<% = cmsKeyImprovement.ClientID%>');

    var contentInstance = editor1.GetDocument();

    var  content= contentInstance.body.innerText
     
    Hi there,
    above code works fine in IE but not Firefox which reports an error"contentInstance.body.innerText is undefined"
    pls help
View Complete Thread