Has anyone ever had a problem with the editor not being recognized when you try to get it via javascript. Here is my code,
var editor1 = document.getElementById('<%=texteditor.ClientID%>');
editor1.SetHTML(document.getElementById(fieldname).value);
When I do an alert of the editor1 variable I get an HTMLTableObject, is this correct? Whenever I try to access the element I get an error saying the editor function doesn't exist, like it's not recogonizing it as a cute editor object. The editor is in a modal popup, if I take it out of the modal popup everything works fine. Has anyone ever seen this before?