Hello All,
I’m new to JavaScript, so be gentle. I was wondering how do I pass an array from one frame to another frame within the same frame set. I’m able to pass values but when I pass an array I get an error stating that the value is null of not an object.
frame one is call main_body frame two is called menu_body.
I’m trying to get the array from frame one from frame two. I use
code:
exportwin = window.open(“”,”displayWindow”);
exportwin.document.write(“<head><title>Message window</title></head>”);
exportwin.document.write(“<body>”);
var count = 0;
for (count =0; count < top.main_body.testarray.lenght; count++)
{
exportwin.document.write(top.main_body.testarray[count]);
}
Thanks