tags:

views:

25

answers:

2

I have a php page where a date value is POSTed back to. From this php script, I want to forward that value to a javascript window. Can this be done?

A: 
parent.blabla ...?
elcuco
Sorry, I suppose I should have said that I am javascript impaired. I have **no idea** how to do this. Can you tell me what I need or what this is called so I can search for what I need?
A: 

The opened window should have access to the parent window through window.opener from there you can access your parent document.

Try something like this in your popup window:

alert(window.opener.document.getElementById('mydate').innerHTML);
gnarf