right now when i run a search i get a whole page of respones how to i limit that to say 5 of the top movies and not the whole page ???????? whats the variable ?
We do not support custom pagination settings. The results object is just an array. If you want to only show the first 5 elements, I believe you can use slice() for that. You can look online for example of slice in JavaScript.
Travis Bellからの返信
投稿:2014年04月13日 10:00 AM
Hi jamiex304,
We do not support custom pagination settings. The
results
object is just an array. If you want to only show the first 5 elements, I believe you can useslice()
for that. You can look online for example of slice in JavaScript.Cheers.