【发布时间】:2010-12-11 08:05:54
【问题描述】:
image naturalWidth 返回零...就是这样,为什么?
var newimage = new Image();
newimage.src = 'retouche-hr' + newlinkimage.substring(14,17) + '-a.jpg';
var width = newimage.naturalWidth;
alert (width);
求助,我不知道为什么!
***那条路径不错,图片出现了!
【问题讨论】:
标签: javascript