Page 1 of 1
How to put data from Pop Up to main page?
Posted: Mon Jan 25, 2010 2:00 pm
by MicroBoy
I have a pop-up to search members, when I found one I like to put data to the form in the main page, I use PHP. Maybe this can work just with javascrip...? but I don't know so I asked here.
Re: How to put data from Pop Up to main page?
Posted: Mon Jan 25, 2010 2:05 pm
by pickle
You can change the URL of the main page, and otherwise affect the main page by referencing window.opener(), or maybe window.parent() - I think there's a few different ways.
Re: How to put data from Pop Up to main page?
Posted: Mon Jan 25, 2010 2:13 pm
by MicroBoy
If you think by using $_GET via url in php I don't like to use it now, I saw in phpBB in admin panel you can select a member in a pop-up and his name will appear in the main page without needing to reload page or etc... I will look in google for window.opener() I hope that this will help me.