1
I’m using the function each()
of Jquery would like to know if there is a mechanism so that I can perform a function after the each()
.
As soon as I finish mine each()
, I can do something else, but it didn’t work.
$(".budgetSelectedNumber").each(function () {
let value = Number($(this).val());
arrayProductSelecteds.push(value)
}).done(function(){
console.log("finish")
});
Uncaught Typeerror: $(...). each(...). done is not a Function
I thought my problem was no each() but you’re right, thank you.
– Ricardo Lucas