<script type="text/javascript" >
window.onload = function(){
var oFCKeditor = new FCKeditor("content","60%","");
oFCKeditor.BasePath = "";
//fckconfig.js ToolbarSet
oFCKeditor.ToolbarSet = "Basic";
oFCKeditor.ReplaceTextarea("content");
}
</script>
<body>
<form action="display.jsp" method="post" name="fm" onsubmit="return
mysm()">
<input type="text" name="text">
<textarea rows="10" cols="20" id="content" name="content" ></textarea><br>
<input type="submit" name="submit">
</form>
</body>
----------------------------------------------------------------
在自己写的js中如果用document.fm.content.value 得到的结果始终为空。
但是改用document.fm.text.value就有。发现应该是FCK插件的问题
不知道哪位大侠以前碰到过,如何解决
window.onload = function(){
var oFCKeditor = new FCKeditor("content","60%","");
oFCKeditor.BasePath = "";
//fckconfig.js ToolbarSet
oFCKeditor.ToolbarSet = "Basic";
oFCKeditor.ReplaceTextarea("content");
}
</script>
<body>
<form action="display.jsp" method="post" name="fm" onsubmit="return
mysm()">
<input type="text" name="text">
<textarea rows="10" cols="20" id="content" name="content" ></textarea><br>
<input type="submit" name="submit">
</form>
</body>
----------------------------------------------------------------
在自己写的js中如果用document.fm.content.value 得到的结果始终为空。
但是改用document.fm.text.value就有。发现应该是FCK插件的问题
不知道哪位大侠以前碰到过,如何解决
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货