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.
var arrCheckElements = divElement.getElementsByTagName('input');
<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).