Controlling delete or update of records using checkboxes

Hi,
I need your help!!
I have checkboxes (Delete and Update) on a table.

update delete id
- - xx
- - xx2
n n n

The code below makes sure only one of the two check boxes are checked at a given time. So, either you can delete or Update but can’t do both at the same.
Now, in addition to current functionality, I need to be able to delete or update more than one record - How can I do this.
Any help is appreciated.
Thank you.

function Check(pass)
{
var divElement=document.getElementById(‘mytble’);
var arrCheckElements = divElement.getElementsByTagName(‘input’);
for(var i=0;i<arrCheckElements.length;i++)
{

          arrCheckElements[i].checked =false;
            } 
         
             document.getElementById(pass).checked =true;            
                      
              
            }

<td><input type=checkbox id=“chkde” onclick=“Check(this.id)” value=“”></td>
<td><input type=checkbox id=“chkup” onclick=“Check(this.id)” value=“”></td>

Just following up on pinkcandy’s post, she’s dead-on.

Anytime you have a small collection of options in which you can only choose one, a radio button is always a good choice (along with single selects, but that’s better for larger sets).