Javascript:
In the following code:
dataNr har been set to the number of files in "data" (0)
data has been defined as an array in my parent window
Im attempting to pass some data from a "pop-up" window i have created with javascript, back to my main window. The info needs to end in an array (data), in which the items are arrays (data[dataNr]).
The wierd thing is that the above script never reaches the alert. It does, however reach the second line, where it produces the error
To me this makes no sence...any suggestions?
Thanks in advance ppl...i know from the past that your worth it
Regards
Luke
In the following code:
dataNr har been set to the number of files in "data" (0)
data has been defined as an array in my parent window
| Code: |
|
opener.data[dataNr] = new Array(); opener.data[dataNr][0] = 'simpleplot1'; alert('error'); |
Im attempting to pass some data from a "pop-up" window i have created with javascript, back to my main window. The info needs to end in an array (data), in which the items are arrays (data[dataNr]).
The wierd thing is that the above script never reaches the alert. It does, however reach the second line, where it produces the error
| Quote: |
| opener.data[dataNr] har no propperties |
To me this makes no sence...any suggestions?
Thanks in advance ppl...i know from the past that your worth it
Regards
Luke
