代码:
<form name='form1' method='post' action=buy2.asp>
<input type="button" value="继续购物" width="115" height="36" border="0" onClick="location.href='product.asp'">
<input type="button" value="修改数量" width="115" height="36" border="0" onFocus="this.blur()" onClick="this.form.action='buy2.asp?action=add&id=';this.form.submit()">
<input type="button" value="去收银台" width="115" height="36" border="0" onFocus="this.blur()" onClick="this.form.action='buy2.asp?action=linkinfo&id=';this.form.submit()">
</form>
只需要在 button里加上上面那些就可以了,加多少都行,非常方便