Changing one event listener to another?
<p>I am new to jquery and I was wondering if it s possible to change all click events (for elements within a specific div) to double click events using jquery? Many thanks in advance.</p>

<pre><code>function isTouchDevice(){
  return (typeof(window.ontouchstart) != 'undefined') ? true : false;
}
if(isTouchDevice()===true){
     //change click events to doubleclick events
}
</code></pre>
