News

Log In Sponsors
Partner Sites
Debt Consolidation Services

Banner Stands

we only offer remortgages call us now and start saving


Re: upload image preview



This is the html code <form name="imageTest" action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" /> <br /> <input type="button" value="Preview!" onClick="previewImage(document.imageTest.file,'replaceMe')"/><br> <img src="images/clear.gif" name="replaceMe"/> <input type="hidden" name="MAX_FILE_SIZE" value="131072"/> <input type="hidden" name="_stage" value="1" /> <input type="submit" name="submit" value="Upload" /> </form>

Click here to read the whole forum topic