iT邦幫忙

0

使用者返回上一頁跳出警告 JS

  • 分享至 

  • xImage

有人知道jquery要如何得知使用者返回上一頁並跳出視窗嗎QQ
瀏覽器是chrome,剛剛用了beforeunload跟popstate都失敗了

froce iT邦大師 1 級 ‧ 2024-06-07 14:18:12 檢舉
https://www.cnblogs.com/wancheng7/p/8542544.html
要先做一次pushState
yee0328 iT邦新手 5 級 ‧ 2024-06-07 15:47:35 檢舉
謝謝大大
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
fesicop3
iT邦見習生 ‧ 2024-08-14 17:32:27

Anyone who can easily manage several responsibilities will fit right in with the Papa's franchise. Your role in the papa's games series is to help manage a restaurant. However, keep an eye on things because orders can quickly accumulate. Receive orders, prepare the food, and assure client pleasure to earn substantial tips.

我要發表回答

立即登入回答