Re: checkbox arrays and validation

From: Date: Tue, 05 Oct 2004 11:52:02 +0000
Subject: Re: checkbox arrays and validation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198655@lists.php.net to get a copy of this message
Angelo Zanetti wrote:
Here is the OT part. how do I reference the checkboxes in javascript if the chkmodels[] is used? I have tried many things like: myCheckboxArray = document.forms[0].elements["chkmodels[]"];
The above should work. Is it really the first form on the page?

« previous php.general (#198655) next »