<!--導入-->
<script type="text/javascript" src="js/ckeditor/ckeditor.js"></script>
----------------------------------------------------------------------------------------------------------------------------------------
<!--頁面使用-->
<textarea id="ckeditor0" name="describe" /></textarea>
<script type="text/javascript">
var ckeditor = CKEDITOR.replace("ckeditor0");
</script>
----------------------------------------------------------------------------------------------------------------------------------------
//驗證非空
if(CKEDITOR.instances.ckeditor0.getData()==""){
alert("xx不能爲空!");
return; //return false;在IE中不會達到你想要的效果
}
----------------------------------------------------------------------------------------------------------------------------------------