怎么把客户端的图片显示出来? 客户端上传图片到服务器时,选择了客户端的图片,怎么把图片显示出来?3x 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试试:<html><head><title>取图片尺寸</title></head><body>图像地址<input name="i" type="file" onchange="img.src=this.value" size="70"><br/>高<input type="text" name="h"><br/>宽<input type="text" name="w"><br/>大小<input type="text" name="s"><br/><br/><br/><br/><div style="position:absolute;top:;left:0;visibility:"><img id="img" onload="Show(this)"></div><script language="JavaScript">function Show(oImg){ document.all.h.value=oImg.height; document.all.w.value=oImg.width; document.all.s.value=oImg.fileSize;}</script></body></html> 如何监控网页读取了哪些硬件信息 急,配置文件的错误 ASP.NET 页面生成静态HTML 页面 问题 无解或无人用过吗? 点击button 数据添加到db后 页面跳转。连续点击button 多次。则会添加多条数据? ?? 关于.net中datagrid中数据导入excel的问题 updatepanel局部刷新依旧刷新整个页面 朋友们请来帮帮忙!关于Sql和Web的问题! 如何在两个页面间传递一个数组 一个sql查询功能,求助 问有关WEB页连接数据库里表的问题~~~~~` 老问题:无法创建Web项目
<html>
<head>
<title>取图片尺寸</title>
</head>
<body>
图像地址
<input name="i" type="file" onchange="img.src=this.value" size="70">
<br/>
高<input type="text" name="h"><br/>
宽<input type="text" name="w"><br/>
大小<input type="text" name="s"><br/>
<br/>
<br/>
<br/><div style="position:absolute;top:;left:0;visibility:">
<img id="img" onload="Show(this)">
</div><script language="JavaScript">
function Show(oImg)
{
document.all.h.value=oImg.height;
document.all.w.value=oImg.width;
document.all.s.value=oImg.fileSize;
}
</script>
</body>
</html>