There is a form for our cms that uploads a story to the DB. They want an image upload, so I am opening a popup window to upload the image.
I want to then pass the filename of the upload back from the popup window to populate the form field in my original page.
Is this possible?
The code on the original is like this
the popup minus the asp upload scripts:
when they have uploaded the image then click close window, the filename is passed to the input on the first page
thanks
I want to then pass the filename of the upload back from the popup window to populate the form field in my original page.
Is this possible?
The code on the original is like this
Code:
<input type="text" name="product_picture" value=""> <a href="upload.asp">upload image</a>
the popup minus the asp upload scripts:
Code:
<form name="frmSend" method="POST" enctype="multipart/form-data" action="upload.asp">
File 1: <input name=attach1 type=file size=35><br>
File 2: <input name=attach2 type=file size=35><br>
File 3: <input name=attach3 type=file size=35><br>
File 4: <input name=attach4 type=file size=35><br>
<br>
<inputtype=submit value="Upload">
</form>
<br>
Close window
when they have uploaded the image then click close window, the filename is passed to the input on the first page
thanks