Triggering double click via jQuery or pure Javascript for a single click event
<p>I want to trigger double click event on any element when a single click event occurs in that element. </p>

<p>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). </p>

<p>I tried the following way, but in vain :(</p>

<pre><code>$('#timer').click(function() {
  $('#timer').dblclick();
});
</code></pre>

<p>Thanks in advance. </p>

<p>Cheers! </p>
