Wang, Jianming wrote:
Hi,
I have an hyperlink, when user click on it, it will update the database. My
question is how can I deal with the case when user double click on the link?
Thank you in advance for your help.
You will have to detect the double-click in the client application,
I can think of a few ways to deal with it:
1) Disallow double-clicking on the client, ever. Add
ondblclick=javascript: return false;
to the anchor tag(s). (The servlet engine never knows whether the user
single- or double-clicked. If you need that specific information, you
always
Hi Jianming!
I don't understand your problem. When users click on a link, a new page
appears. So, what is the problem?
Perhaps you want to say that users click a second time after the request
has got to the server (and the DB updated), but before the response gets
to them. In this case, you'd
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 12:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Double Click
Hi Jianming!
I don't understand your problem. When users click on a link, a new page
appears. So, what is the problem?
Perhaps you want to say that users click a second time after
: Double Click
Hi Jianming!
I don't understand your problem. When users click on a link, a new page
appears. So, what is the problem?
Perhaps you want to say that users click a second time after the request
has got to the server (and the DB updated), but before the response gets
to them