如何解决uchome自带编辑器无法获取uchome编辑器里面的值问题?(uchome二次开发)...

<script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>
<script language="javascript" src="image/editor/editor_function.js"></script><!--uchome编辑器要用的js-->

<form method="post"  action="space.php?do=classesbbs&ac=post"   enctype="multipart/form-data">
 
                     <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                   标题:<input type="text" name="title" id="title" size="30"/>
                   <br/>
                     班级:<select id="classid" name="classid">
                      <!--{loop $classes $value}-->
                       <!--{if $value['classid'] == $thevalue['classid']}-->
                       <option value="$value[classid]" selected>$value[classname]</option>
                       <!--{else}-->
                       <option value="$value[classid]">$value[classname]</option>
                       <!--{/if}-->
                       <!--{/loop}-->
               </select>
                   <br/>
                  内容:<textarea name="content" id="uchome-ttHtmlEditor" style="height:100%;width:100%;display:none;border:0px">$thevalue[g_description]</textarea>
               <iframe src="editor.php?charset=$_SC[charset]&allowhtml=$allowhtml" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:100%;border: 1px solid #C5C5C5;" height="200"></iframe>
                 <br/>
                  <input type="submit" name="sub" onclick="edit_save();"  value="提交" />

提交的时候要记得加入:οnclick=”edit_save();”,否则无法获取uchome编辑器的值。

转载于:https://my.oschina.net/qq277049/blog/42687

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值