var image = new Image();//new一个image对象
image.src="images/bg.png";
//image.width;
//image.height;
alert("尺寸:"+image.height+"×"+image.width );为什么这样写不能获取到height与width