say for instance i have an array ...
is there a way of finding the array slot number?
ive tried ...
my_array[0].name
without much luck.
Any help would be appreciated
- Jon
JavaScript Beginner at work
Code:
var my_array = new Array()
my_array[[COLOR=red]0[/color]] = "apple";
my_array[[COLOR=red]1[/color]] = "banana";
is there a way of finding the array slot number?
ive tried ...
my_array[0].name
without much luck.
Any help would be appreciated
- Jon
JavaScript Beginner at work