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.

:icon_eek::?:

What?????????????????????!!!!!!!!!!!!!!!!!!!!!!!

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?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.