Have the onclick() method write a cookie with an expiration of -1
(deleted after session). In the same JavaScript function, test
for the existence of this cookie. if( cookie) {do nothing}.
Cheers!
Mark
----- Original Message -----
From: "Arockia Joseph" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 1:49 AM
Subject: Re: disabling button....!
> hi
>
> are u submittting any form when u click the button???
> or what action u r doing exactly when the button is clicked ???
>
> JJ
>
> -----Original Message-----
> From: purnima das [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: disabling button....!
>
>
> hello everybody,
>
> i am using HTML, JavaScript, and Servlet and a NETSCAPE
BROWSER.....! the
> servlet generates an HTML page, and the page has a button, i
want that on
> the onClick Event of the Button, the button should be disabled,
so that the
> user is not able to click it again and again n number of times,
i.e. i want
> to ensure that the button can be clicked only once, can anybody
help me, as
> to how do i make the button disabled through JavaScript and get
it enabled
> again,.....?
>
> different browsers, react differently, i am using NETSCAPE
4.7...!
>
> have a good day
> purnima
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff
Bol at
> http://bol.rediff.com
>
>
_________________________________________________________________
__________
> 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