Fetching

.each(callback)

.each(callback,callback) – This fetches the results and runs a function on each one and optionally runs a callback after all have been run.

hifi({type: 'post'}).each(function(post){ alert(post.title); },function(){ alert('all done!')});

helpCan't find your answer here? Head to our discussion board to get help from our developers and a growing community of HiFi users.