With IE4 and higher, you can capture the double-click event for the whole
document with "document.ondblclick".

So, to simply trap and do away with the double-click event (in IE), add:

document.ondblclick = new Function("return true;");

...or some such non-event, as it were.  ;-)

Shad

--
Shad J. Aumann
190 Earle Drive
North Kingstown, RI 02852
[EMAIL PROTECTED]

----- Original Message -----
From: Pascal Houde <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 31, 1999 11:30 AM
Subject: Re: double click


> Another solution which involves little JavaScript is to set the button
> status to "disabled" once the user has clicked it. This is HTML4.0 but to
> change the status dynamically, you need JavaScript...
>
> -----Original Message-----
> From: Vihung Marathe [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 30, 1999 9:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: double click
>
>
> Chris Pratt wrote:
>
> > I'm not a JavaScript programmer (nor is this a JavaScript Mailing List)
>
> Right. I agree.
>
> But Jack (the original poster) would not have been able to accomplish what
> he
> wants to do easily with Servlets, so I gave him a simple client-side
> solution -
> in the place where he would be looking for a solution to his problem.
>
> > it seems that you could just disable the button once it has been pushed
> and
> > prevent the double click at the client.
>
> Unfortunately, you can't do that with HTML buttons, which is why the whole
> problem arises.
>
> -- Vihung
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to