How to put data from Pop Up to main page?
Moderator: General Moderators
How to put data from Pop Up to main page?
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?
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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: How to put data from Pop Up to main page?
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.