|
发表于 2011-11-3 08:41:20
|
显示全部楼层
用Javascript语句很好控制的!
<script language="Javascript">
function gotodelete()
{
//将delete.jsp换成你要处理删除的jsp页面
window.location.href="delete.jsp";
}
function gotoupdate()
{
//将update.jsp换成你要处理修改數量的jsp页面
window.location.href="update.jsp";
}
</script>
<html>
……
<form action="submit.jsp">
<input type="button" value="删除" onClick="gotodelete()">
<input type="button" value="修够數量" onClick="gotoupdate()">
<input type="submit" value="提交">
</form>
</html>
试试吧! |
|