Disable mouse double click using javascript or jquery
add a
class='myClickDisabledElm'
to all DOM elements whose clicks you want to stop.<input type="text" class="myClickDisabledElm" />
now javascript
jQuery('.myClickDisabledElm').bind('click',function(e){
e.preventDefault();
})
Edit
Since you are more concerned abt double click you may use
dblclick
in place of click
No comments:
Post a Comment