Hi paul thanks for getting back to me,
im a complete novice and im sure you can tell, i do not understand what it is exactly.
var car = myCars[Number(value)] || myCars[myCars.indexOf(value)] || '';
if you have time to explain how i would go about allowing the user to enter a number to show up a array item, for eg il do my best at pseudo code.
List of Rugby players
( array )
" User please enter player number you wish to pull up "
user enters the number " 3 "
something along those lines if that makes sense, im sorry if this is confusing i just don't really know how to express myself very well when it comes to code.
if you dont have time to explain this thats ok but if you know of a tutorial you can link me that will teach me this then that's just just as good.
Thank you so much for your time