Need to pass a value from a parent window to a pop up or child window
I need to pass the counter timer value to the pup up window or child window from a java script. but i think reference is a problem here .
childWindow is a pop up window which is opened from a parent window using window.open.. Now i have calculation part where the remaining time starts decreases from 10 to 1. I need to populate this value to a child window/pop up window.
in childWindow i have textbox with id ='remSeconds'. i have used the below and tried out many scenarios where i cant populate the child window with the remainingTime.
Please help me on this..
I have written this in a seperate JS its not in the childwindow..
childWindow.document.getElementById('remSeconds'). value = remainingTime;