[jQuery] TinyMce with .load
Hi All
I am trying to use tinymce as a callback in the jQuery .load. Problem
im having is that the tinymce box becomes frozen so that i cannot
focus on it. if i click any of the buttons on the toolbar then tinymce
works again.
any suggestions? This only happens in IE
$("#replaceLanguage").load(url, function(){
if(correctselect){
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
theme_advanced_buttons1 :
"bold,italic,underline,strikethrough,|,cut,copy,paste,pastetext,pasteword,|,undo,redo,|,link,unlink",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_buttons4 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : false,
setup : function(ed) {
ed.onKeyUp.add(function(ed, e) {
checkifchanged(ed);
// alert(ed.getContent());
});
}
});
}
});
Thanks