hi
i have an array of checkboxes created by php, and the number of elements is dynamic. i want to write the values of any checked boxes to a confirm box, i.e. they choose a few options, and the confirm box asks
"Are you sure you want to remove these files : file1, file2, file3 etc?" where file1, file2 etc are the values of the checkboxes.
although i've found several useful threads here, there isn't one that works for me.
here is a little snippet of the output at the moment :
<input type=checkbox name=lists[] value=8> <a href=/secure/majordomo/index.php?id=8#start>8</a><br>
<input type=checkbox name=lists[] value=ac> <a href=/secure/majordomo/index.php?id=ac#start>ac</a><br>
<input type=checkbox name=lists[] value=bermuda> <a href=/secure/majordomo/index.php?id=bermuda#start>bermuda</a><br>
<input type=checkbox name=lists[] value=bermuda-pm> <a href=/secure/majordomo/index.php?id=bermuda-pm#start>bermuda-pm</a><br>
<input type=checkbox name=lists[] value=bermuda2> <a href=/secure/majordomo/index.php?id=bermuda2#start>bermuda2</a><br>
and there's a aubmit button which will call a javascript function
any help on this matter would be greatly appreciated, as although it's not vital to the functionality it's driving me crazy!!
cheers
rob