Re: Re: checkboxes

From: Date: Fri, 26 Oct 2001 22:23:42 +0000
Subject: Re: Re: checkboxes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-72522@lists.php.net to get a copy of this message
use onClick event handler for the checkbox and inside the handler check if checkbox.checked==true then call your checked handler else call unchecked handler HTH ----- Original Message ----- From: "Ben Holt" <ben@emediastudios.ickyspam.com> To: <php-general@lists.php.net> Sent: Friday, October 26, 2001 6:13 PM Subject: [PHP] Re: checkboxes > Sounds like onChange to me... when you check it you change it, when you > uncheck it you change it. > > - Ben > > Boaz Yahav wrote: > > > does anyone know the HTML event that knows when a checkbox has been > > checked and unchecked? > > So far I'm using onChange but that is not exactly what I need. I need to > > run one JS function when a checkbox is checked and another when it is > > unchecked. > > > > NE1? > > > > > > berber > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#72522) next »