Written by Sean Behan on Sun Jun 17th 2012

Super simple to get double click "desktop" like functionality out of Prototype! For some reason, googling it doesn't yield many useful results. http://www.google.com/#hl=en&q=double+click+in+prototype+javascript&aq=f&oq=&aqi=&fp=peEfEjG9pWY :(

Anyway, here is the code

    document.observe('dblclick', function(){
        alert("Hello World");
    });

Tagged with..
#double click #event #javascript #prototype #Programming

Just finishing up brewing up some fresh ground comments...