posted 21 years ago
I have a large file that I am reading into ASP (boo hiss I know, but its company standard).
Anyway, this file is a collection of directory and file names.
Each entry should be a checkbox, and each group of files in that directory should belong to the direcotries checkbox group. (Follow me so far).
My output looks something like:
[]Directory Name
[]Filename
[]Filename
[]Directory
[]Filename
[]Filename
And so on with each directory and group of files being its own independant group.
I need to actions:
1) If I check a directory all subsequent files in that group get checked and vice versa, if I uncheck it, all files should be unchecked.
2) Provide a selectAll button to select every checkbox on the page all at once.
I can get the first part of number one, but I can't get the uncheck to work. I am calling on_Click="function_here" (I know it's spelled wrong but this board wouldn't let me post that otherwise.)but it seems the unchecking never gets registered.
The problem with part two is, you will never know how many checkboxes there are because it will vary depending on the user. I am not sure how to get all the boxes checked.
Any ideas?
[ October 22, 2002: Message edited by: ryan headley ]