how to access parent window javascript variable inside child window(pop-up)?
javascript
Solution
`window.opener.custName` works. It was typo mistake.
Problem
I have html page which has global javascript variable with name `custName="scott"`. I open the pop-up window with `window.open`. Now if I access the `custName` inside pop-up window with `window.opener.custName`, I get values as `undefined`. How do I access parent window javascript variable inside child window(pop-up)?