dimanche 17 juillet 2016

Jquery break line between data fields


I tried to break line between fields, but nothing i red on previous cases has worked for me : "
" "n"

$(function() {
    var body = $(document.body);
    for (var i = 0; i `enter code here`< data.length; i++) {
        $('<div></div').text(data[i].name + " " + data[i].age + " n" + data[i].email).appendTo(body);

    }
});

Aucun commentaire:

Enregistrer un commentaire