First I have my data encoded in the json_encode function.
Looks like this for example:
{\"test\":\"test value\"}
What I want to do is m
$.getJSON('ajax/test.json', function(data) { var items = []; $.each(data, function(key, val) { items.push('' + val + ''); }); $('', { 'class': 'my-new-list', html: items.join('') }).appendTo('body'); });
straight from the jquery docs...