Jump to content


This topic is now archived and is closed to further replies.


Pass info from popup

Recommended Posts

Had a quick search but couldn't see anything on this, and all the results Google returns are pretty unclear.

I'm building a news system with PHP/mySQL, one of the features is to associate an image with the story. It's literally just a textbox where you input the URL to the image, but it also has a link next to it which goes to a repository of readily prepared stock images in a popup window, to save time.

What I need to happen is for the user to click a picture in the popup, and for the URL of that picture to be passed back to the initial page and inserted into the URL textbox.

Any help or advice on how I can do this is greatly appreciated.

Thanks in advance. :)

Share this post

Link to post
Share on other sites

I expect one of those has your answer (or at least a signpost)

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.