When i write below code in ascx file it works fine but when i write below code in aspx page it thow error on second line i.e getDocument() is undefined.
Line 1 . var editor1=document.getElementById('<%=Editor1.ClientID%>');
Line 2 . var editdoc=editor1.GetDocument();
Please help me.
Please also tell me how i can get the content of Editor on the popup window.
Chhokar, Sunder