Load x more results?

ezra339

New Member
I have the following snippet which i use to load xml via jQuery from a xml file:\[code\] $.ajax({ type: "GET", url: "myxml.xml", dataType: "xml", success: function (data) { $(data).find("seperator").each(function () { $("body").append($(this).attr("MyAttr")); }); }});\[/code\]The xml file can contain hundreds of results. So instead of just showing them all at once, i would like to add a "Load 20 more.." button to the page, that will.. load 20 more results. So when the page initialy loads, it shows the first 20 results, click the button and it loads and appends 20 more from the xml etc.How could i achieve this?
 
Back
Top