get prev and next items in array
Posted
by eyalb
on Stack Overflow
See other posts from Stack Overflow
or by eyalb
Published on 2010-03-23T08:25:06Z
Indexed on
2010/03/23
8:33 UTC
Read the original article
Hit count: 238
jQuery
i have an array of numbers
var projects = [ 645,629,648 ];
and a number 645
i need to get the next(629) and prev(648) numbers?
can i do it with jquery?
© Stack Overflow or respective owner