hello
i got a repeat region tables where it has 3 fields
ID
name
pass
i want to add check box next to each record so it can be deleted when it is checked here is the cases i want
either all checked
or multi checked
so i pass them to sql query where i delete based on checked IDs
now here is the code for java script to check all
<script type="text/javascript">
function check()
{
for(i=0; i<document.form.elements.length; i++)
{
document.form.elements.checked = (document.form.elements.checked) ? false : true;
}
return;
}
</script>
i assigend it to button
and added a form with check box in repeat region
but it doesnt work what am i doing wrong ?
cuz when i move this form outside repeated region it works
any hints on the sql query to be used would bemuch appreaciated too
thx in advanced