if(confirm('Are you sure?')) { document.forms[0].del.click(); } 转载于:https://www.cnblogs.com/xuxu7325/archive/2006/03/20/354078.html