How to Jquery each complete
each, jquery
Solution
To execute code after the `each` loop is over :
var count = $("element").length;
$("element").each(function (i) {
// loop
if (i+1 === count) {
// this will be executed at the end of the loop
}
});
Problem
I did not do the complete in `$.each()`. How this is done? Please help me. ``` $("element").each(function (i, v) { //No problem }, function () { //How to complete finished ?? // alert(each finish); }) ```