单击window.history.back()时要做一些事情
当用户单击 window.hostory.back()上时,我想做一些事情。 有这样的东西吗? 感谢您的帮助!
像:
$(document).on('click', window.history.back(), function () {//guest what?})
Update
在屏幕上您有链接:
<a class="Active" href="whatEver">
此脚本:
$(document).on("click", ".Active", ShowModal);
当我返回上一页时(单击浏览器箭头)再次显示模型,并且不会消失。该怎么隐藏它?
i want to do something when the user click on window.hostory.back()
Is there such a thing?
Would appreciate help!
like:
$(document).on('click', window.history.back(), function () {//guest what?})
update
in the screen u have link:
<a class="Active" href="whatEver">
and this script:
$(document).on("click", ".Active", ShowModal);
When I return to the previous page, (click on the browser arrow) the model is displayed again and does not disappear. What to do to hide it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论