js 检测判断fckeditor是否为空

js 检测判断fckeditor是否为空<!– 用一般的js是不可能获取 fck 编辑器内容的是否有值的,我们得用

FCKeditorAPI接口来实例–><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

""><html xmlns=""><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>js 检测判断fckeditor是否为空</title><script language="">function checkForm(formDom){ var Content =FCKeditorAPI.GetInstance

("").GetXHTML”>www.111cn.net").GetXHTML(); if(Content==null||Content==""){ alert(‘内容不能为空’); return false; }}</script></head>

<body><div style="width:100%;"><form><input type="hidden" id="" name="" value="<!

–{$dataInfo.house_desc|htmlspecialchars}–>" /><input type="hidden"

id="house_desc___Config" value="FullPage=false"/><iframe

id="house_desc___Frame" src="/FCKeditor/editor/fckeditor.html?

InstanceName=house_desc&amp;Toolbar=Basic" width="100%" height="220"

frameborder="no" scrolling="no"></iframe><input name="" type="submit" value="提交" onclick="return checkForm

();" /></form></div></body></html>本站原创

旅行是一种病。一旦感染了,你就再也无法摆脱。

js 检测判断fckeditor是否为空

相关文章:

你感兴趣的文章:

标签云: