Dear all,
I have been trying for ages to fire a javascript function using OnSelectionChange which works fine in FF and other browsers but fails in IE. I am using IE 8. I am using Version 2.6.6 of FCKeditor. My code is as follows-
function FCKeditor_OnComplete(editorInstance1) {
try {
if (document.all) {
//For IE
editorInstance1.Events.AttachEvent('OnSelectionChange', doColorSendButton);
}
else {
//other browser
editorInstance1.Events.AttachEvent('OnSelectionChange', doColorSendButton);
}
}
catch (e) {
}
}
I also came across a post which says that this is a known issue with this version. Can it be solved if I use higher versions of the same? Please help me out.
Thanks in advance,
Bishwambhar Sen.
I have been trying for ages to fire a javascript function using OnSelectionChange which works fine in FF and other browsers but fails in IE. I am using IE 8. I am using Version 2.6.6 of FCKeditor. My code is as follows-
function FCKeditor_OnComplete(editorInstance1) {
try {
if (document.all) {
//For IE
editorInstance1.Events.AttachEvent('OnSelectionChange', doColorSendButton);
}
else {
//other browser
editorInstance1.Events.AttachEvent('OnSelectionChange', doColorSendButton);
}
}
catch (e) {
}
}
I also came across a post which says that this is a known issue with this version. Can it be solved if I use higher versions of the same? Please help me out.
Thanks in advance,
Bishwambhar Sen.
Re: OnSelectionChange event doesnt work for IE