ok so i have this function
success: function (data) {
$('#chat').val(data);
for (var i = 0, i < data.length, i++) {
$.append("#ID: " + "#Mesaage");
}
}
in which data is variable that holds a JSON array which is displayed like this:
{ID: Message}
How can I give it a format so it will simply print "ID: Message" without the curly brackets?