发生任何点击事件后如何禁用整个页面的点击事件 [英] how to disable click event for whole page after any click event happens

查看:99
本文介绍了发生任何点击事件后如何禁用整个页面的点击事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
在我的网站上,如果用户单击任何按钮或链接,则其他单击事件未启用...完成单击功能后,原始阶段返回...

请给出解决方案....

如果我的问题听不懂,请回复我....

Hi all,,,
In my site if user click any button or link the other click event doesnot enable...After completing the click function the original stage come back...

please give solution ....

If my questions not able to understand please reply me....

推荐答案

尝试一下,

单击按钮后,您将调用该函数.
在该函数中,将您的按钮ID设置为style.display =''none''
Try This,

After clicking button, you will be calling the function.
In that function, give your button id as style.display=''none''


这篇关于发生任何点击事件后如何禁用整个页面的点击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆