CKEditor老报错,高手指点一二啊
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><script language="javascript" src="ckeditor/ckeditor.js" type="text/javascript"></script><script language="javascript" src="ckfinder/ckfinder.js" type="text/javascript"></script><script language="javascript">/*加载CKEditor*/ function loadCKEditor1(){ if (typeof CKEDITOR=='undefined'){ alert('Editor load failed!'); return false; }else{ var editor1 = CKEDITOR.replace('editor1'); CKFinder.SetupCKEditor(editor1,'/ckfinder/');//与ckeditor整合载入ckfinder } } window.onload = loadCKEditor1;</script></head><body><div id="we"></div><form id="form1" name="form1" method="post" action="2.asp"><textarea id="editor1" name="editor1" cols="80" rows="10" ></textarea> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> <td><input type="text" name="names" /></td> <td> </td> </tr> <tr> <td> </td> <td><input type="text" name="textfield2" /></td> <td> </td> </tr> <tr> <td> </td> <td><input type="text" name="textfield3" /></td> <td> </td> </tr> <tr> <td> </td> <td><input type="text" name="textfield4" /></td> <td> </td> </tr> <tr> <td> </td> <td><input type="text" name="textfield5" /></td> <td> </td> </tr> <tr> <td> </td> <td><input type="text" name="textfield6" /></td> <td> </td> </tr> <tr> <td> </td> <td><input type="text" name="textfield7" /> <input type="submit" name="Submit" value="提交" /></td> <td> </td> </tr> </table></form></body></html>
CKFinder.SetupCKEditor(editor1,'/ckfinder/');//与ckeditor整合载入ckfinder