1、点击直接跳转:
<input type="button" value="修改" οnclick="location.href='books_modify.php?index=1'">
2、点击弹出确认框在跳转:
<input type="button" value="删除" οnclick="if(confirm('确定要删除吗')) location.href='books_del.php?index=<?php echo $i; ?>'">
1、点击直接跳转:
<input type="button" value="修改" οnclick="location.href='books_modify.php?index=1'">
2、点击弹出确认框在跳转:
<input type="button" value="删除" οnclick="if(confirm('确定要删除吗')) location.href='books_del.php?index=<?php echo $i; ?>'">