S
Sunouchi
Dear experts, I would like to know how to load an array in a '.js'
file from another '.js' file
With <script src="pictitle\array1.js"></script> I can load that array
from a html file.
However I want to load array1.js from another javascript file (xx.js)
because in xx.js a 'random' number is calculated. On the result of
that random number I want to load array1.js or array2.js or array3.js
or even more arrays. (Every array is more than 1,000 elements large)
How can I do that?
Thanks in advance
Sunouchi
file from another '.js' file
With <script src="pictitle\array1.js"></script> I can load that array
from a html file.
However I want to load array1.js from another javascript file (xx.js)
because in xx.js a 'random' number is calculated. On the result of
that random number I want to load array1.js or array2.js or array3.js
or even more arrays. (Every array is more than 1,000 elements large)
How can I do that?
Thanks in advance
Sunouchi