php-general | 2001122
Date: 12/17/01
- Next message: Shane Wright: "Re: [PHP] 'Select All'"
- Previous message: Chris: "[PHP] Delete File Contents?"
- In reply to: Shane Wright: "[PHP] 'Select All'"
- Next in thread: Bas van Rooijen: "Re: [PHP] 'Select All'"
- Reply: Bas van Rooijen: "Re: [PHP] 'Select All'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I know *exactly* what you mean, the solution (took me at least an hour) is attached.
have fun,
bvr.
On Mon, 17 Dec 2001 17:54:42 +0000, Shane Wright wrote:
>Hi
>
>I'm having somewhat of a problem :(
>
>I have my banks of checkboxes, all named 'mycheckbox[]' with the values as
>different IDs. The user happily checks a few of them and my scripts happily
>process the resulting arrays.
>
>But... how do I get Javascript to do a 'select all' on them?? I cant access
>them by name because of the square brackets, and I cant access them by going
>through all form elements in case there are other checkboxes that dont want
>to be included.
>
>Is there a tidy way around this, does any of the above make sense?
>
>Thanks
>
>--
>Shane
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe <email protected>
>For additional commands, e-mail: php-general-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Shane Wright: "Re: [PHP] 'Select All'"
- Previous message: Chris: "[PHP] Delete File Contents?"
- In reply to: Shane Wright: "[PHP] 'Select All'"
- Next in thread: Bas van Rooijen: "Re: [PHP] 'Select All'"
- Reply: Bas van Rooijen: "Re: [PHP] 'Select All'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

