document.myform.elements["somename[]"]
unless you're having a different problem than Im thinking of... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > 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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php