<script language="javascript"> function check(){ if(confirm("确定要删除吗")){ return ture; } return false; } </script>