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

原创
2012/03/06 13:07
阅读数 11.5W
<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="提交" />

提交的时候要记得加入:onclick=”edit_save();”,否则无法获取uchome编辑器的值。
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部