现在填入奖品数量是只能正数,填入后会在原来的数量上加上去,填入负数无效。我现在要填入负数会在原来的基础上减掉
rs.close %>
</select>
</td>
</tr>
<tr>
<td height="30" align="right">奖品数量:</td>
<td><input name="num" type="text" id="num" value="<%= num %>" size="20" maxlength="20" /></td>
</tr>
<tr>
<td height="50" align="center"> </td>
<td height="50" align="left"><input type="submit" name="Submit" value="保 存" class="btn"/>
<input type="button" name="Submit22" value="返 回" class="btn" onclick="window.location='prize2.asp'"/></td>
</tr> |