PostPosted: Thu Jul 20, 2006 4:26 am Post subject: putting a value from a popup into a php form Reply with quote Edit/Delete this post
Hi
I have set up an online form for publishing a news item.
The form allows users to asssociate an image to the news article. These images are already uploaded into a directory of the site.
I have created a pop up box that lists all images in this directory and allows the user to preview them. However what I want to do is for the user to click on the images link on the popup and its value be added to a textfield on my form.
Is this possible with javascript. If so how would I go about achieving this?
Thanks very much i advance