我有一个1024×768图像jQuery的实际图像diamension
<span class="frame">
<img alt="Image" title="Image" src="hD41120CA-7164-11DF-A79E-F4CE462E9D80_Green_Sea_Turtle.jpg">
</span>
和下面CSS设置图像宽度
.frame img{
width:425px;
}
而jQuery代码
$('.uploaded_image img').attr("width");
返回425
我如何检索实际JavaScipt中的图像宽度1024?
http://stackoverflow.com/questions/318630/get-real-image-width-and-height-with-javascript-in-safari-chrome – Adam 2010-06-06 18:25:18