in reply to OT? Checkbox list with CGI/Javascript
before the submit occours, that field should look something like "2|||3|||8|||20|||". Only filled with the checked userids.for(var i=0; i<total_checkboxes; i++) { if(checkbox = 'checked') { all_checkboxes.value += userid + '|||'; } }
my @userids = split('|||', $cgi->param('all_checkboxes');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OT? Checkbox list with CGI/Javascript
by rashley (Scribe) on Nov 11, 2005 at 17:18 UTC | |
by ickyb0d (Monk) on Nov 11, 2005 at 17:52 UTC | |
by rashley (Scribe) on Nov 11, 2005 at 18:30 UTC |