页面离开事件 onbeforeunload

<body onbeforeunload='cancelOrder();'>

cancelOrder()为页面离开调用的事件

posted @ 2018-07-11 16:32  蒲木杉  阅读(137)  评论(0编辑  收藏  举报