http://api.jquery.com/jquery.getjson/
$.getJSON( "ajax/test.json", function( data ) {
var items = [];
$.each( data, function( key, val ) {
items.push( "
});
$( "
"class": "my-new-list",
html: items.join( "" )
}).appendTo( "body" );
});
http://stackoverflow.com/questions/867916/creating-a-div-element-in-jquery
jQuery('
', {id: 'foo',
href: 'http://google.com',
title: 'Become a Googler',
rel: 'external',
text: 'Go to Google!'
}).appendTo('#mySelector');