jquery - How can i unbind double click event on a div on which click is already bind? -


 $('#id').bind("dblclick", function (event)     {     event.preventdefault();     });     $('#id').unbind("click");     $('#id').bind("click", function ()     {     #mycode     }); 

here both double , single click called.how can make call single event @ time?


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -