logging the div_id in the loop