Jump to content


Photo

Pass info from popup


  • Please log in to reply
2 replies to this topic

#1 benhodgson

benhodgson
  • Members
  • PipPip
  • Member
  • 11 posts
  • LocationLeicester, UK

Posted 02 September 2006 - 12:30 AM

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. :)

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 02 September 2006 - 12:48 AM

http://www.irt.org/s...t/form.htm#10.3

I expect one of those has your answer (or at least a signpost)
Legend has it that reading the manual never killed anyone.
My site

#3 benhodgson

benhodgson
  • Members
  • PipPip
  • Member
  • 11 posts
  • LocationLeicester, UK

Posted 02 September 2006 - 01:48 AM

Excellent stuff!

Got it working now, cheers.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users