> I want to be able to select _none or one_ of
> the checkboxes (note: not using radio-buttons).
Why not radio buttons? They work that way automatically and continue to work
if script is turned off. Just add a "None" radio to indicate none of the
others.
> So I would like to know how to address the
> _other_ checkboxes (with the class noneorone)
> in the same <tr>.
Something like this should do it:
$(".noneorone").bind("change", function(e){
// user was clearing this checkbox
if ( !this.checked )
return;
// this button is checked, clear all of them and recheck this one
$(".noneorone").attr("checked", false);
this.checked = true;
});
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/