I’m using datatables but I don’t think that’s the issue. I’ve commented them out before and tried again and still the checkboxes don’t respond.
I’ve tried some example code for checking all checkboxes
$('#test').click(function (event) {$('input[type="checkbox"]').attr('checked', 'checked');});
<input id='test' type='checkbox' value='Click me' onclick='checkAll();' />Check All
Jquery is called on the page; at the very bottom. It was like that when I bought the theme on themeforest.
I’m really not sure what is going wrong. You have to double click on the checkboxes in order for them to be checked.
You can see the live page here with the problem:
http://rsxserver.com/logs1.php
And a live page here with the code that should make it work:
http://rsxserver.com/checkall.html
Does anyone know what could be wrong?
Not 100% sure that this is causing your problem but you have function firing on the checkbox
onclickevent calledcheckAll()that is not defined in your page.Try removing the call to that function.