I want to trigger double click event on any element when a single click event occurs in that element.
To be more clear, let's say I have a text box with some text, and when the user clicks(single click) on the text box I have to trigger that single click to multiple clicks(either double click or even tripple click).
I tried the following way, but in vain :(
$('#timer').click(function() {
$('#timer').dblclick();
});
Thanks in advance.
Cheers!