[Solved] Jquery array from arrays
[ad_1] A simple for loop should be able to do this: for (x in i_array){ iv[ii_array[x]] = i_array[x]; v[iii_array[x]] = i_array[x]; } See jsfiddle here. UPDATED TO SOLVE REAL PROBLEM Your code was messed up in a few places. See working jsfiddle here. First of all, you don’t need to create new arrays. Just use … Read more