我先有一个js方法动态加载fck
inner2 = "<div><input type='text' id='FCKeditor1' name='FCKeditor1' value='' style='display:none' />"+
"<input type='text' id='FCKeditor1___Config' name='FCKeditor1' value='' style='display:none' />"+
"<iframe id='FCKeditor1___Frame' src='../include/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar='Default'"+
" width='100%' height='200' frameborder='0' scrolling='no'></iframe></div>";

msg.innerHTML = inner2;

document.getElementById("ajax_maincontent").appendChild(msg);
document.getElementById("ajax_maincontent").appendChild(ajax_title);
document.getElementById("ajax_maincontent").appendChild(ajax_closeimg);

var s = new addButtonPanel();
document.getElementById("ajax_maincontent").appendChild(s.addButtonPanel());
document.getElementById("aButton_OK").focus();
if(document.getElementById("FCKeditor1").readyState=="complete")
{
document.getElementById("FCKeditor1").value=this.textareaValue;
}
现在问题是 我必须在 document.getElementById("FCKeditor1").readyState=="complete"  之前 先用alert一下
fck才加载到面板中 如果不 alert 则只加载面板不加载fck 这是什么问题呢
各位大侠 帮帮忙啊