devilbox/.devilbox/www/htdocs/vendor/phppgadmin-5.6.0/multiactionform.js

10 lines
220 B
JavaScript
Raw Normal View History

2018-12-28 21:38:09 +00:00
function checkAll(bool) {
var inputs = document.getElementById('multi_form').getElementsByTagName('input');
for (var i=0; i<inputs.length; i++) {
if (inputs[i].type == 'checkbox')
inputs[i].checked = bool;
}
}