禁用双击 [英] disable double click
本文介绍了禁用双击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当用户单击按钮时,有时可能会双击它,因此它会得到重复的entry.so,我想删除此错误,该怎么办呢?
when user click on button it may get double click sometime and so it get duplicate entry.so i want to remove this bug how can do it
推荐答案
make首次单击后,您的按钮被禁用.
尝试此 [冻结页面 [
make your button disabled after first click.
try this[^] which use JQuery.
or you can use some CSS effect to show that the page submission is in progress
try that link Freeze Page[^]
^ ]可能会有所帮助.
This[^] may help.
在这里您要走
避免多次单击按钮 [
Here you go
Avoiding Multiple Clicks of Button[^]
这篇关于禁用双击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文