I have the following simple jquery snippet
$(document).ready(function () {
$.ajax({
url:"myjson.json",
dataType: 'json',
success:function(json){
$.each(json, function() {
alert("test");
});
},
error:function(){
},
});
});
The result can return 1000's of results - i only want the first 20 for example. How would i best do this?