Friends,
I want to find out how we can get html control if any which are placed inside RadEditor. I tried but didnt work for me.
Code 1:
I want to find out how we can get html control if any which are placed inside RadEditor. I tried but didnt work for me.
Code 1:
var
editor = $find("<%=reFormEditor.ClientID%>"); //return a reference to RadEditor
var oDocument = editor.get_document(); //get a reference to the editor's document
var
oControl = oDocument.getElementsById("image1");
Code 2:
var editor = $find("<%=reFormEditor.ClientID%>"); //return a reference to RadEditor
var oDocument = editor.get_html(true);
var oControl = oDocument.getElementsById("image1");
Can anyone help me how can i find the image1 control???