Send Info From PopUp Window To Parent Window

C

chuckdfoster

How do you send info from popup window to a parent? From the parent, the
user click a link and a popup window appears with a calendar in it. I want
them to click the date in the popup and populate a text box on the parent
window. Any ideas?

Thanks in advance.
 
G

Guest

Use window.opener to access the parent window.

window.opener.document.getElementById("mytextbox").value = 'asdf';
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top