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

Reply via email to