<form name="form1" method="post" action="/dev/user_content.ashx?fid=57&id=16" id="form1">
<div id="field_tab_content" class="tab-content" style="">
<!--单行文本开始-->
<dl>
<dt>标题</dt>
<dd>
<input name="field_control_title" type ="text" id="field_control_title" class="input normal" value="" tipmsg ="请输入标题!" errormsg="请输入标题!" nullmsg="请输入标题!" datatype="*" sucmsg=" " >
<!--<span class="Validform_checktip">请输入标题!</span></dd>-->
</dl>
<!--编辑器开始-->
<dl>
<dt>内容</dt>
<dd>
<textarea id="field_control_content" style="visibility:hidden;" class="editor-mini" name="field_control_content" value=""></textarea>
<!--<span class="Validform_checktip">请输入内容!</span></dd>-->
</dl>
<!--日期时间开始-->
<%csharp%>
string fbdt=DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
<%/csharp%>
<dl style="display: none;">
<dt>发布时间</dt>
<dd>
<input name="field_control_time" type="text" value="{fbdt}" id="field_control_time" class="input date" onFocus="WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss'})" tipmsg="" errormsg="" nullmsg="" datatype="*" sucmsg=" ">
<span class="Validform_checktip"></span></dd>
</dl>
<!--数字开始-->
<%csharp%>
int uid=0;
<%/csharp%>
<%set DTcms.Model.users um=GetUserInfo()%>
<%if(um!=null)%>
<%csharp%>
uid=um.id;//cs代码变量赋值
<%/csharp%>
<%else%> <%/if%>
<dl style="display: none;">
<dt>用户id</dt>
<dd>
<input name="field_control_userid" type="text" value="{uid}" id="field_control_userid" class="input small" tipmsg="" errormsg="" nullmsg="" datatype="*" sucmsg=" ">
<span class="Validform_checktip"></span></dd>
</dl>
<dl>
<dt>验证码</dt>
<dd>
<input id="txtCode" name="txtCode" class="input small" type="text" datatype="s4-20" style="ime-mode:disabled; text-transform:uppercase; ">
<a id="verifyCode" style="display: ; " href="javascript:; " onClick="ToggleCode(this, '/tools/verify_code.ashx'); return false; "><img src="/tools/verify_code.ashx" width="80" height="22" /> 看不清楚?</a></dd>
</dl>
</div>
<input type="submit" name="btnSubmit" value="提交保存" id="btnSubmit" class="btn">
</form>
<div id="field_tab_content" class="tab-content" style="">
<!--单行文本开始-->
<dl>
<dt>标题</dt>
<dd>
<input name="field_control_title" type ="text" id="field_control_title" class="input normal" value="" tipmsg ="请输入标题!" errormsg="请输入标题!" nullmsg="请输入标题!" datatype="*" sucmsg=" " >
<!--<span class="Validform_checktip">请输入标题!</span></dd>-->
</dl>
<!--编辑器开始-->
<dl>
<dt>内容</dt>
<dd>
<textarea id="field_control_content" style="visibility:hidden;" class="editor-mini" name="field_control_content" value=""></textarea>
<!--<span class="Validform_checktip">请输入内容!</span></dd>-->
</dl>
<!--日期时间开始-->
<%csharp%>
string fbdt=DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
<%/csharp%>
<dl style="display: none;">
<dt>发布时间</dt>
<dd>
<input name="field_control_time" type="text" value="{fbdt}" id="field_control_time" class="input date" onFocus="WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss'})" tipmsg="" errormsg="" nullmsg="" datatype="*" sucmsg=" ">
<span class="Validform_checktip"></span></dd>
</dl>
<!--数字开始-->
<%csharp%>
int uid=0;
<%/csharp%>
<%set DTcms.Model.users um=GetUserInfo()%>
<%if(um!=null)%>
<%csharp%>
uid=um.id;//cs代码变量赋值
<%/csharp%>
<%else%> <%/if%>
<dl style="display: none;">
<dt>用户id</dt>
<dd>
<input name="field_control_userid" type="text" value="{uid}" id="field_control_userid" class="input small" tipmsg="" errormsg="" nullmsg="" datatype="*" sucmsg=" ">
<span class="Validform_checktip"></span></dd>
</dl>
<dl>
<dt>验证码</dt>
<dd>
<input id="txtCode" name="txtCode" class="input small" type="text" datatype="s4-20" style="ime-mode:disabled; text-transform:uppercase; ">
<a id="verifyCode" style="display: ; " href="javascript:; " onClick="ToggleCode(this, '/tools/verify_code.ashx'); return false; "><img src="/tools/verify_code.ashx" width="80" height="22" /> 看不清楚?</a></dd>
</dl>
</div>
<input type="submit" name="btnSubmit" value="提交保存" id="btnSubmit" class="btn">
</form>
解决方案 »
- 简单代码谁能帮我解释下,谢谢
- 有关.net网站挂在 IIS上的问题
- GridView中添加ButtonField后,如何与本行数据结合起来
- 域名泛解析后,保留二级域名解析的问题
- URL编码
- 哪位救命啊,为设么windows2003上不能上asp网页
- 用Session如何传递DataSet?
- 为什么连不上数据库啊!帮帮忙了,我是新手。
- 请问在用ADSI去Invoke ChangePassword,是不是一定要Administrator权限
- 请教各位高人,帮帮忙,我是刚入门的,如何能够实现当前页面输入内容的获取。。。。
- 如何将下列代码改成使用Oracle数据库
- 求助 网页怎么通过香港服务器将谷歌搜索到的内容显现到自己的页面??急
改成 display='none'试试
——form值不是value,而是textarea标签之间的内容,可测
改为:
<input id="field_control_content" type="hidden" class="editor-mini" name="field_control_content" value="">
看看这样是不是能编程文本编辑框.
你没有赋值默认为空,肯定获取不到了,要么获取值,要么手动赋值