arrayB = arrayA

admin

Administrator
Staff member
Hi,

How do I pass an array from func A to func B... the code below works okay within a single function:

var a = new Array()
var b = new Array(4,2,1);

a = b;

(a) My problem is how do I pass an array from one function to another function. Also, (b) how can I assign a = b across different pages ( I know that I can call a function in another page without problem, i.e. window.opener().myFunction(); )

thanks,
 
Back
Top