RE: [PHP] how to check or uncheck all checkboxes

From: Date: Wed, 07 Aug 2002 22:36:50 +0000
Subject: RE: [PHP] how to check or uncheck all checkboxes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111589@lists.php.net to get a copy of this message
You have to refer to the form element by its number. Document.form.element[0] or whatever it is... Client-side is evil. ---John Holmes... > -----Original Message----- > From: Alva Chew [mailto:alva@stridec.com] > Sent: Wednesday, August 07, 2002 1:55 PM > To: php-general@lists.php.net > Subject: [PHP] how to check or uncheck all checkboxes > > Hi, > > I want to uncheck or check all the checkboxes with a simple javascript. > But > when I assign the checkboxes with names like "options[]" so that the > values > are stored in an array, the javascript wont work! > > Can anyone please help? > Thanks. > > Alva Chew > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#111589) next »