ondblclick doesnt work?

Results 1 to 3 of 3

Thread: ondblclick doesnt work?

  1. #1
    Dan C Guest

    Default ondblclick doesnt work?

    i have this html<BR><BR>&#060;a href="http://somepage.html" ondblclick="twoclick()" onclick="oneclick()"&#062;click once or twice&#060;/a&#062;<BR><BR>and this javascript<BR><BR>function oneclick(){<BR> alert("one click")<BR> }<BR>function twoclick(){<BR> alert("two click")<BR> }<BR><BR><BR>why does the dblclick() function never fire?

  2. #2
    jason m Guest

    Default RE: ondblclick doesnt work?

    I think it&#039s only running<BR><BR>function oneclick(){<BR>alert("one click")<BR>}<BR><BR>since there is a single click in a double click.

  3. #3
    Dan C Guest

    Default RE: ondblclick doesnt work?

    ok then how do i trap for both events? is it possible to trap for a single and a double click?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts