<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>上傳圖片的時候預覽</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr bgcolor="#f5f5f5">
<td height="30" align="center" valign="middle">圖片鏈接</td>
<td height="35" align="center" valign="middle"><input type="file" name="uploadfile1" runat="server" id="uploadfile1" onpropertychange="document.all.imgID.src='file:///'+this.value">
</td>
</tr>
<tr bgcolor="#f5f5f5">
<td height="70" align="center" valign="middle">縮略圖</td>
<td height="70" align="center" valign="middle"><img id="imgID" width="82" height="65" border="0" >
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
上傳圖片的時候預覽
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.