I am using the $.each()
method of jQuery to loop over a couple of objects. Is there a way to find out if there are more objects to come in the $.each()
method?
Something like:
$.each(data, function(o, myObject) {
if(data.hasMoreObjects) {
// append something
} else {
// append nothing
}
});