[Javascript] Detecting a doubleclick

Terry Riegel riegel at clearimageonline.com
Fri May 28 10:00:15 CDT 2004


I have a page that I am trying to detect the doubleclick event. Each 
anchor looks like this

<a href="#" onclick="dothis(a,x)" ondblclick="dothis2(a,x)">a:x</a>
<a href="#" onclick="dothis(a,y)" ondblclick="dothis2(a,y)">a:y</a>
<a href="#" onclick="dothis(b,z)" ondblclick="dothis2(b,z)">b:z</a>
...etc

The function dothis2(a,b) basically does a few things then calls 
dothis(a,b). Is there a way to deteck if a double click took place in 
dothis(a,b)?



Terry Riegel
-----------------
MAILKEY: 2524427349



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 593 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040528/ba7cd3b4/attachment.bin>


More information about the Javascript mailing list