<script type="text/javascript">
function ttt(){
document.form1.submit();
}
</script>
<form action="addinfo_ok.jsp" method="post" name="form1">
 <textarea name="cnWords" style="display:none"></textarea>
<IFRAME ID="eWebEditor1" src="../eWebEditor.jsp?id=cnWords&style=s_blue" FRAMEBORDER="0" SCROLLING="no" WIDTH="650" HEIGHT="350"></IFRAME>
<input type="button" onclick="ttt()" value="OK!确认添加新用户" id="rrr">
</form>
不知为什么这样提交会向数据库中插入两次数据,奇怪的是如果把下面这eWebEditor编辑器的代码删掉后就没事了
<IFRAME ID="eWebEditor1" src="../eWebEditor.jsp?id=cnWords&style=s_blue" FRAMEBORDER="0" SCROLLING="no" WIDTH="650" HEIGHT="350"></IFRAME>
请大家帮忙看一下,谢谢!