Re: Checkbox

From: Date: Wed, 26 Mar 2003 18:45:18 +0000
Subject: Re: Checkbox
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141104@lists.php.net to get a copy of this message
On Wednesday 26 March 2003 09:16 am, shaun wrote: > Hi, > > is it possible to have a checkbox that if it is specified to be checked > when the page is being formulated then it cannot be unchecked? When you write the page, if the checkbox is checked initially, write also a javascript to prevent it from being uncheck. Something like this: <INPUT TYPE="CHECKBOX" onClick="this.checked=true;" CHECKED> So everytime it's clicked, the javascript will make sure that it's checked again. HTH -RDB -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ -------------------------------------------------

« previous php.general (#141104) next »