Hi,
You will need JavaScript .
Try like this:
<input type="checkbox" name="checkbox" value="checkbox" checked
onClick="this.checked=true">
The checkbox is not disabled but it will remain checked all the time.
I have tried this in Netscape and MSIE and it works.
Best wishes,
Andras.
----- Original Message -----
From: Lalith Jayaweera <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 16, 1999 7:43 AM
Subject: CHECKBOX
> Hi
> Can anybody let me know how to disable a checkbox(That is checked, but
> user/client can't select anymore)
>
> What I tried was
>
> .....
> output1.println(" <input type=checkbox checked disabled
name=tempname>Name");
> ...
>
> This does not work it is checked but not disabled
>
>
> lalith
>
>
___________________________________________________________________________
> 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