Skip to main content

Posts

Showing posts from June, 2013

select all checkboxes in a table javascript

function checkAll(bx,dg) {                                         var tbl = document.getElementById(dg);                                         for (var index = 1; index < tbl.rows.length; index++) {                                             var cbs = tbl.rows[index].getElementsByTagName('input');                ...