Javascript/PHP

From: Date: Wed, 21 Aug 2002 19:49:53 +0000
Subject: Javascript/PHP
Groups: php.windows 
Request: Send a blank email to php-windows+get-15434@lists.php.net to get a copy of this message
I have a javascript function that I am passing a group of checkboxes to. The purpose of the js is to check/uncheck all of the boxes for various operations to be performed on all of them at the same time. That said, the function used to work perfectly when the name of the checkbox group was as simple as: <input type="checkbox" name="somename"... now I am using the php method of: <input type="checkbox" name="somename[]"... the js does not like "somename[]" being passed in as a parameter. Any ideas as to how to pass that to the js correctly? Thanx, Kit _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com

« previous php.windows (#15434) next »