![]() |
#2
liang1982072011-05-14 23:01
|

<div><p style="background:#fff;padding:10px;"><%=ubbcode(rs("Content"))%></p></div><%
End If
rs.Close : Set rs = Nothing%>
<div class="admh"><strong>回复内容</strong></div>
<form style="margin:0;padding:0;border:0;" action="replysave.asp?ID=<%=Trim(Request("ID"))%>&pn=<%=Trim(Request("pn"))%>" method="POST">
<div><%
Call Editor("recontent", "")
Conn.Close : Set Conn = Nothing%>
</div>
<div style="padding:3px 0 0 0;height:25px;text-align:center;">
<input type="hidden" id="SecReply" name="SecReply" value="0" />
<input type="button" value="返 回" onClick="history.back(-1);" class="btn" style="width: 60px; height:18px;">
<input type="submit" class="btn" style="width:80px; height:18px;" value="保存回复">
<input type="button" value="添 加" onclick="filed()" class="btn" style="width: 60px; height:18px;">
</tr>
</div>
</form>
</div>function filed(){document.recontent.text.value=document.recontent.text.value + "祝您在爱众网盟秀灵店-飞讯网吧上网愉快!";}
点击添加按钮,自动textarea原有内容后面添加自己一些固定的语句。谁能指教下。 End If
rs.Close : Set rs = Nothing%>
<div class="admh"><strong>回复内容</strong></div>
<form style="margin:0;padding:0;border:0;" action="replysave.asp?ID=<%=Trim(Request("ID"))%>&pn=<%=Trim(Request("pn"))%>" method="POST">
<div><%
Call Editor("recontent", "")
Conn.Close : Set Conn = Nothing%>
</div>
<div style="padding:3px 0 0 0;height:25px;text-align:center;">
<input type="hidden" id="SecReply" name="SecReply" value="0" />
<input type="button" value="返 回" onClick="history.back(-1);" class="btn" style="width: 60px; height:18px;">
<input type="submit" class="btn" style="width:80px; height:18px;" value="保存回复">
<input type="button" value="添 加" onclick="filed()" class="btn" style="width: 60px; height:18px;">
</tr>
</div>
</form>
</div>function filed(){document.recontent.text.value=document.recontent.text.value + "祝您在爱众网盟秀灵店-飞讯网吧上网愉快!";}