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)?
window.opener.custName works. It was typo mistake. 
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With