图片 你把图片复制给 img 对象的 dynsrc 来得到他的高和宽 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>新建网页 1</title></head><body> <script> var img = new Image() img.src = "C:\Documents and Settings\Administrator\桌面\2.jpg" alert( img.height ) alert( img.width ) </script></body></html> 求aptana支持自己写的js库的方法 javascript控制歌词同步的例子 jquery的事件绑定 如何取得图上某一点的坐标? ···· 如何将Request参数传入JAVASCRIPT方法中做为参数?? 如何让javascript不弹出新窗口启动QQ程序 比较棘手的问题 不好意思:想请教“京津塘”到底是什么意思?? 引用了jQuery后,其他的JS不启作用,神马情况。。郁闷啊,,,, 增加和移除事件,在线等! js代码不兼容Firefox,怎么改?
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head><body>
<script>
var img = new Image()
img.src = "C:\Documents and Settings\Administrator\桌面\2.jpg"
alert( img.height )
alert( img.width )
</script></body></html>