![]() |
| ||
| upload hi i want to upload photos. i have a upload button when the upload button is clicked a window will pop out and uploading image option are there. when the close window buttton is clicked in the pop up,i want to close the pop up and the path should be displayed as a link in the parent window this is my code.where uploading is working but i am not able to close the window when close button is clicked and dont know how to display the link in the parent page...... child window <?parent window workphoto1:<input type="text" readonly="readonly" name="workphoto1" class="story" size="35" /> <INPUT type="button" value="Upload" onClick="alert('we support only JPG format');window.open('uploadpicture.php?stylistid=<?echo $stylistid;?>&textbox=workphoto1','mywindow','width=500,height=300')" /> |
| ||
| Re: upload child window <form action="uploadpicture.php?stylistid=<?echo $_REQUEST['stylistid'];?>&textbox=<?echo $_REQUEST['textbox'];?>" method="post" ENCTYPE="multipart/form-data"> File: <input type="file" name="stylistphoto" size="30"> <input type="submit" value="Upload!"> </form> |
| ||
| Re: upload Quote:
|
| All times are GMT -4. The time now is 1:41 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC