Hi,

I was trying to get 10 items from the json file. My url in $.getJSON
looks like:

$.getJSON("myjsonfile.json?count=10", {}, function(data) {
    $.each(data, function(i, item) {
        alert(item.title);
        alert(i);
    });

});

But the above code returns all 20 items from my file. What mistakes am
I making?

Reply via email to