Click and Hold event listener with JQuery
I have did some experiment with click event. I need to hold the click for a specific amount of time and when user release the mouse that time my defined event will trigger with it. And i have achieved that and now want to share it with you. I have also implemented the touchstart
and touchend
event into it and tested in chrome and its working perfect. So this is simple demo for click and hold event listener.
…