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上午
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.