onsave 事件里 event.returnValue = window.confirm("是否要保存?"); 转载于:https://www.cnblogs.com/seerlin/archive/2010/11/26/1888932.html