javascript - Select one checkbox row only in datatables -
i want able select 1 checkbox @ time in datatables.
in example below, multiple rows can selected. how can go allowing 1 row selected @ time?
you use radio buttons instead of checkboxes.
example:
<input type="radio" name="fieldname" value="check1" /> <input type="radio" name="fieldname" value="check2" /> <input type="radio" name="fieldname" value="check3" /> <input type="radio" name="fieldname" value="check4" />
the "name" attribute groups radio buttons together, "value" attribute differentiate them.
Comments
Post a Comment