Hi i have little problem with find solution for this code:
var attrVal = $('.class').attr('data-value'),
select = $('.class2[data-value-select=$(attrVal)]').find('[type="checkbox"]:checked').length;
How can i select element with data-value-select=(this attrVal) ?