我想对填写完留言后先进行预览后,在发表,应该怎么样实现啊,
<div style="width:600px;text-align:left;margin-top:2px;padding-left:10px;line-height:25px;background-color:#6bbff9;font-size:14px;color:#fff;font:bold">
请填写信息<span style="font-size: 12px">(*为必填项)</span>
</div>
<table width="600" cellpadding="4">
<tbody>
<tr height="50">
<td align="right" width="100">
标题:
</td>
<td>
<asp:TextBox id="DiscountTitle" Width="300" onblur=chkDiscountTitle() Runat="server"></asp:TextBox> *
<div id="DiscountTitleerror" style="display:none"></div>
</td>
</tr>
<tr height="40">
<td align="right" width="100">有效日期:</td>
<td>
<input id="StartTime" type="text" runat="server">
<img onClick="fPopCalendar(StartTime,StartTime);return false;" style="cursor:hand" src="/WebImage/Calendar.gif" >开始日期(例:2006-01-01)
<div id="StartTimeerror" style="DISPLAY: none"></div>
</td>
</tr>
<tr><td align="right" width="100"></td>
<td>
<input type="text" onblur="compareDate()" id="EndTime" runat="server">
<img onClick="fPopCalendar(EndTime,EndTime);return false;" style="cursor:hand" src="/WebImage/Calendar.gif" >结束日期(例:2006-01-01)
<div id="EndTimeerror" style="DISPLAY: none"></div>
</td>
</tr>
<tr height="40">
<td style="VERTICAL-ALIGN: top" align="right" width="100">
请输入内容:</td>
<td>
<asp:TextBox id="DiscountContent" width="300" height="150" onblur=chkDiscountContent() textmode="multiline" Runat="server" ></asp:TextBox> *
<div id="DiscountContenterror" style="DISPLAY: none"></div>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="button" Value="预览" />
</td>
</tr>
<tr height="40">
<td width="100">
</td>
<td>
<asp:Button id="AddDiscountButton" onclick="Confirm_click" runat="server" Text="确 认"></asp:Button>
</td>
</tr>
</tbody>
</table>
<div style="width:600px;text-align:left;margin-top:2px;padding-left:10px;line-height:25px;background-color:#6bbff9;font-size:14px;color:#fff;font:bold">
请填写信息<span style="font-size: 12px">(*为必填项)</span>
</div>
<table width="600" cellpadding="4">
<tbody>
<tr height="50">
<td align="right" width="100">
标题:
</td>
<td>
<asp:TextBox id="DiscountTitle" Width="300" onblur=chkDiscountTitle() Runat="server"></asp:TextBox> *
<div id="DiscountTitleerror" style="display:none"></div>
</td>
</tr>
<tr height="40">
<td align="right" width="100">有效日期:</td>
<td>
<input id="StartTime" type="text" runat="server">
<img onClick="fPopCalendar(StartTime,StartTime);return false;" style="cursor:hand" src="/WebImage/Calendar.gif" >开始日期(例:2006-01-01)
<div id="StartTimeerror" style="DISPLAY: none"></div>
</td>
</tr>
<tr><td align="right" width="100"></td>
<td>
<input type="text" onblur="compareDate()" id="EndTime" runat="server">
<img onClick="fPopCalendar(EndTime,EndTime);return false;" style="cursor:hand" src="/WebImage/Calendar.gif" >结束日期(例:2006-01-01)
<div id="EndTimeerror" style="DISPLAY: none"></div>
</td>
</tr>
<tr height="40">
<td style="VERTICAL-ALIGN: top" align="right" width="100">
请输入内容:</td>
<td>
<asp:TextBox id="DiscountContent" width="300" height="150" onblur=chkDiscountContent() textmode="multiline" Runat="server" ></asp:TextBox> *
<div id="DiscountContenterror" style="DISPLAY: none"></div>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="button" Value="预览" />
</td>
</tr>
<tr height="40">
<td width="100">
</td>
<td>
<asp:Button id="AddDiscountButton" onclick="Confirm_click" runat="server" Text="确 认"></asp:Button>
</td>
</tr>
</tbody>
</table>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货