0
this data element of jquery has a list, how to fill in html
success: function (data) {
var tabela = $("#linha");
var rows = "";
$(data).each(function (i, item) {
rows += "<div>" + $('#imagem').attr('src', item.UrlFoto) + "</div>";
rows += "<div>" + $('#nome').text(item.Nome) + "</div>";
});
tabela.find().html(rows);
},
My html
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
<a href="#" class="fancybox" rel="ligthbox">
<img src="" class="zoom img-fluid " alt="" id="imagem">
<label style="color:white;text-align:center; font-size:20px" id="nome"></label>
</a>
</div>
</div>