SyntaxFix
Write A Post
Hire A Developer
Questions
.text is correct, the following code works for me:
$('#lb'+(n+1)).text(a[i].attributes[n].name+": "+ a[i].attributes[n].value);