putting a value from a popup into a php form

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

putting a value from a popup into a php form

Post by hame22 »

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 PHP or will I have to include javascript. If so how would I go about achieving this?

Thanks very much i advance
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Javascript - Moved to Client Site
Post Reply