Sorry, I should describe my situation in more detail.
Yes, it is an image with anchor link that trigger function to increase the
amount in a input box when you click. And very strangely that I see the
example using ondbclick and onclick together does increase the amount twice
when you double click than one click. And when I try to use ondbclick event
in my page, I don't see any change. Are there any points to use this event
in case like this? Thanks.
From Ed.
----- Original Message -----
From: "Anil Rhemtulla" <AnilR@T...>
To: "javascript" <javascript@p...>
Sent: Thursday, February 15, 2001 10:19 PM
Subject: [javascript] Re: what's ondbclik?
> As you probably know ondbclick is the triggered when the user double-clicks
> on the object. This can be useful for a listbox full of items (i.e.
> double-clicking on an items performs and action whereas a single-click
> simply selects the item).
>
> However, in the example you mentioned I don't believe the ondbclick performs
> any useful action. You CAN double click on an anchor link (tested in IE).
> However, since the single-click normally performs an action you do not have
> time to double click on the link.
>
> <A href="#" onclick="return false;" ondblclick="alert('Double
> Click');">Double Click Here</A>
>
>
> Cheers,
> Anil
>
>
> ----- Original Message -----
> From: "Floyd Hunag" <flloid@p...>
> To: "javascript" <javascript@p...>
> Sent: Thursday, February 15, 2001 9:18 PM
> Subject: [javascript] what's ondbclik?
>
>
> > anyone knows how to use the mouse event ondbclick, i've seen that
> ondbclick next to onclick mouse event, like this one:
> > <a href="url" onclik="javascriptfunctionname"
> ondbclick="thesamejavascriptfunctionname" >
> > Anyone can explain this to me, I don't see any value of use of ondbclick.
> >
> > >From ed.
> >
>