I have an AJAX script which returns the results like this:
array one = ["<p>Number 1</p>","<p>Number 2</p>", "<p>Number 3</p>"]
array two = ["<p>Test</p>","<p>Other</p>", "<p>Random</p>"]
There are always the same number of objects in the first array as in the second.
Is it possible to combine the the first object from array one with the first object form array two, then the second object form array one, and the second object from array two, etc..?
Ex.)
["<p>Number 1</p>", "<p>Test</p>"]
["<p>Number 2</p>", "<p>Other</p>"]
1 Answer