<input type="hidden" id="smalltext" name="smalltext" value="" style="display:none" /><input type="hidden" id="smalltext___Config" value="" style="display:none" /><iframe id="smalltext___Frame" src="../data/ecmseditor/infoeditor/editor/fckeditor.html?InstanceName=smalltext&classid=2&filepass=1255789392&amp;Toolbar=Basic" width="100%" height="300" frameborder="0" scrolling="no"></iframe></dd>
这个是编辑器自动加的代码, 数据库字段为smalltext,我写了个前台的检测代码,测试是否为空,但是测试为空后,无法定位到编辑器
普通的$$("smalltext").focus();无法将焦点定在编辑器.PS:已增加函数
function $$(id){return document.getElementById(id);}