javascript question here...
I need to find the highest number in an array and then return where in the array this number is. It cannot be sorted as this needs to match up with a word in another array. Heres the array:
var array1 = dan, john, james, harry, mike;
var array2 = 66, 33, 85, 34, 45;
Basically the number must match up with the name its already with. If anyone has the answer I would be most happy :)
Thanks