![]() |
#2
lampeter1232010-04-24 17:33
|
jsp 中如何拿到 title 、cont 的值并判断是否为空,若空,如何弹出提示框为空
<form name="reply" action="ReplyOK.jsp" method="post" >
<input type="hidden" name="id" value="<%=id %>">
<input type="hidden" name="rootid" value="<%=rootId %>">
<table Border="1">
<tr>
<td>
<input type="text" name="title" size="80" >
</td>
</tr>
<tr>
<td>
<textarea cols="80" rows="12" name="cont"></textarea>
</td>
</tr>
<tr>
<td>
<input type="submit" value="提交">
</td>
</tr>
</table>
</form>