Using Array class in parent and child windows (javascript question) -
I'm actually coding a case where a child popup window transfer data as the original window: var childArrayData = new array (); Child Arreretta [0] = 'Data Text 1'; Child Arredata [1] = 'Data Text2'; Child Arredata [2] = 'Data Text 3'; Window.opener.parentVariable = childArrayData; I found an error that was resolved: var childArrayData = new window.opener.Array (); & Lt; ----- childArrayData [0] = 'Data Lesson 1'; Child Arredata [1] = 'Data Text2'; Child Arredata [2] = 'Data Text 3'; Window.opener.parentVariable = childArrayData; Why is the array class different between two separate windows? Does this name belong to the place? Can you mention any article about the answer? Thank you in advance. EVEVE This is a known problem Written by Douglas Crockford. When you call array , you are talking about window.Array . The Window browser is the reference object, and you get a per page (or frame). All the arra...