I’m trying to modify a loop to return the current div within an iteration, but the div is not being set using below code :
$('#id div.columns).each(function() {
var div = $(this).attr('argument');
});
});
How can I get the div object within the loop ?
I am not sure if it is a typo or not.. but you are missing a quote.
and also assuming that extra
)};is a copy/paste mistake..