Hi,
We are using CKEditor for email templates.
We have a reset button which will reset the text area if the user clicks on the link.
We are using the below method to reset the text area:
If(some condition){
var editor = CKEDITOR.instances[rteId];
editor.setData(textMap[ID]);
}
This works fine on all browsers(FF, IE8,IE9 etc). This is not working specifically on IE7.
However, if I keep alert before setData call, then, its working on IE7 too..see below:
If(some condition){
var editor = CKEDITOR.instances[rteId];
alert('Hi');
editor.setData(textMap[ID]);
}
Can someone help me on this?
Thanks,
Bala.
We are using CKEditor for email templates.
We have a reset button which will reset the text area if the user clicks on the link.
We are using the below method to reset the text area:
If(some condition){
var editor = CKEDITOR.instances[rteId];
editor.setData(textMap[ID]);
}
This works fine on all browsers(FF, IE8,IE9 etc). This is not working specifically on IE7.
However, if I keep alert before setData call, then, its working on IE7 too..see below:
If(some condition){
var editor = CKEDITOR.instances[rteId];
alert('Hi');
editor.setData(textMap[ID]);
}
Can someone help me on this?
Thanks,
Bala.