I haven't found an answer to this question on the site. How would I dynamically name arrays in javascript? I need to generate a number of arrays, the number of which is determined at run time. I am trying to make separate ajax requests that sends individual arrays to a php script for processing.
I have come up with this but it does not work:
var 'objectArray'+id = [];