0

hi friends

I have run the php page this page liste some hyper link. When i click the hyper link new page open in new window. Then i have select some values in new window ,,selected valueas are pass on old php page.

Generaly we use pass the vlaues old page to new page. But Now we need pass the values new page to old page

How its possible Please advise.

2
Contributors
5
Replies
6
Views
10 Years
Discussion Span
Last Post by smalldog
0

Sorry VSSP but I just don't understand what do you mean by pass the values new page to old page.. Can you explain that?

0

If you want to pass values from pop up window to "old" opener window, may be this code is what you want:

test.html:

<script>
function openwindow()
{
  window.open('popup.html',"mywindow");
}
</script>
<div id="test"></div>
<a href="javascript:openwindow();">Open Pop Up</a>

popup.html:

<script>
window.opener.document.getElementById('test').innerHTML = 'Passed from new window to old';
</script>

Hope it helps

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.