Dear All,
I'm using ASP.Net control (v2.5) and created a fckeditor control in my application. What I want to do is to create a drop down selection for user to select a bgcolor and trigger an onchange event to change the bgcolor of the editor area. How can I get the editor object so i can change the bgcolor by this statement?
oEditor.EditorDocument.body.style.backgroundColor = 'red' ;
i tried "var oEditor = document.getElementById( fckeditor_control_id );" but seems not work..
or the above statement is not correct?
i'm using FCKeditor 2.5.1 and FCKeditor.Net 2.5
Thanks.
I'm using ASP.Net control (v2.5) and created a fckeditor control in my application. What I want to do is to create a drop down selection for user to select a bgcolor and trigger an onchange event to change the bgcolor of the editor area. How can I get the editor object so i can change the bgcolor by this statement?
oEditor.EditorDocument.body.style.backgroundColor = 'red' ;
i tried "var oEditor = document.getElementById( fckeditor_control_id );" but seems not work..
or the above statement is not correct?
i'm using FCKeditor 2.5.1 and FCKeditor.Net 2.5
Thanks.
