Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8399

Using Both click and dblClick Events

From Gene Wirchenko <genew@ocis.net>
Newsgroups comp.lang.javascript
Subject Using Both click and dblClick Events
Date 2011-11-17 20:10 -0800
Organization A noiseless patient Spider
Message-ID <7gmbc7lfmro7r99ijbr77a2c8gkvr9lmc8@4ax.com> (permalink)

Show all headers | View raw


Dear JavaScripters:

     Suppose that one wishes to have an action take place when an
element is clicked and a different one when it is doubleclicked.  How
does the event processing work?

     From my checking under IE9, if I doubleclick, the click event
will fire twice before the dblClick fires.  How do I know when the
second click will not be coming and can safely proceed with the click
event action?

Sincerely,

Gene Wirchenko
   

Back to comp.lang.javascript | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Using Both click and dblClick Events Gene Wirchenko <genew@ocis.net> - 2011-11-17 20:10 -0800
  Re: Using Both click and dblClick Events Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-18 07:59 +0000
  Re: Using Both click and dblClick Events Tim Streater <timstreater@greenbee.net> - 2011-11-18 10:34 +0000
  Re: Using Both click and dblClick Events John G Harris <john@nospam.demon.co.uk> - 2011-11-18 16:30 +0000
  Re: Using Both click and dblClick Events Gene Wirchenko <genew@ocis.net> - 2011-11-18 11:40 -0800
    Re: Using Both click and dblClick Events Tim Streater <timstreater@greenbee.net> - 2011-11-18 20:24 +0000
      Re: Using Both click and dblClick Events Gene Wirchenko <genew@ocis.net> - 2011-11-18 12:36 -0800
        Re: Using Both click and dblClick Events Tim Streater <timstreater@greenbee.net> - 2011-11-18 21:18 +0000
          Re: Using Both click and dblClick Events Gene Wirchenko <genew@ocis.net> - 2011-11-18 14:13 -0800
            Re: Using Both click and dblClick Events Tim Streater <timstreater@greenbee.net> - 2011-11-18 22:24 +0000
            Re: Using Both click and dblClick Events John G Harris <john@nospam.demon.co.uk> - 2011-11-22 15:23 +0000

csiph-web