get the return value of the beforeunload user prompt?

后端 未结 0 1330
独厮守ぢ
独厮守ぢ 2021-02-04 01:25

I need to catch the result of the leave-page user prompt fired in beforeunload. Below is my handler for beforeunload:

leaving = false;
.
.
.
window.addEventListen         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题