Hi, i am new to rad editor.
i want to get the editor content in java script on button click.
So i am using the following code.
' var editor = $find("<%#radEditor.ClientID%>"); //get a reference to RadEditor client object
var editorContent = editor.get_html();
'
i am using with master page.
so i try to get editor like document.getElementById('ct100_cpEditor_radEditor')
but i cant use the get_html() method with this id.
and document.getElementById('radeditor')-this return null.
how to get the editor object in java script?
Thanks,
Uma
i want to get the editor content in java script on button click.
So i am using the following code.
' var editor = $find("<%#radEditor.ClientID%>"); //get a reference to RadEditor client object
var editorContent = editor.get_html();
'
i am using with master page.
so i try to get editor like document.getElementById('ct100_cpEditor_radEditor')
but i cant use the get_html() method with this id.
and document.getElementById('radeditor')-this return null.
how to get the editor object in java script?
Thanks,
Uma