页面离开事件 onbeforeunload

<body onbeforeunload='cancelOrder();'>

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

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