I need to go through all the icheck checkboxes

0

I have several checkboxes inside a table I need, go through the table row x row, and check if the checkboxes are selected or not, I use the icheck plugin to improve the appearance of the checkbox, but I can not manage this plugin and I do not know how to get whether they are selected or not, this is the plugin

    
asked by Jefferson Tenecota 17.05.2018 в 00:44
source

1 answer

1

very interesting the plugin. For example, the following line of code, list all checkboxes:

$('.icheckbox_square-blue')

But if you want to obtain only those that are selected, you can do it in the following way:

$('.icheckbox_square-blue.checked')

NOTE: You can run in the browser console, on the plugin page and you can check that it works.

Greetings, I hope it serves you.

    
answered by 17.05.2018 / 00:58
source