I have a table with information. The first column of the table have checkboxes. I can add/delete rows with a button by checking the checkboxes. The problem I have now is how
JSBin
Add onClick event to checkbox where you want, like below.
Select All Make Model Description Start Year End Year
In JavaScript you can write selectall function as
function selectall(source) { checkboxes = document.getElementsByName('foo'); for(var i=0, n=checkboxes.length;i