Hey guys,
i want to parse an xml file with jquery. This works so far, only the output confuses me:) probably you can help me.
$(function(){
$.get("images.xml",{},function(xml){
var output = "<ul>";
$(xml).each(function() {
smallImage = $(this).find("small").text();
//bigImage = $(this).find("big").text();
output += "<li>" + smallImage + "</li>";
output += "</ul>";
});
$("#wrapper").append(output);
});
});
I want to have each image link in a separate line, until now all links are together in one. Thanks for your help.