1
如何在for循环中显示的每个项目之间放置换行符。如何使用jquery append时放置断行
for (var t = 0; t < userList.length; ++t) {
var href = 'http://localhost:53008/authenticationcleaner/userprofile?id=' + userList[t].Id;
var text = 'The ' + userList[t].LastName + ' Family, ' + 'Address: ' + userList[t].Address;
$('.families').append($('<a/>').attr('href', href).text(text));
}
太感谢你了! – Newbie