jquery select all items in a class code example
Example 1: get all classes of element jquery
var classList = $('#divId').attr('class').split(/\s+/);
$.each(classList, function(index, item) {
if (item === 'someClass') {
//do something
}
});
Example 2: jquery get all value from class
var ek = $('.seconds').map((_,el) => el.value).get()
console.log(ek)