按钮取消 js
<td> <input class="btn" type="button" value="取消" onclick="cal()"/> </td> <td> <input class="btn" type="submit" value="保存" /> </td> </tr> </table> <% } %> <script type="text/javascript"> function cal() { if (confirm('确定取消吗?')) { window.location = "/SougeSystem/Account/AccountManager"; } } </script>