记下你选择的图片的参数,然后用
var img = document.getElementById("image1");
img.height=200;
img.width=104;
<img SRC="E:\jspdev\img\13457s.jpg" id="image1">

解决方案 »

  1.   

    var img = document.getElementById("image1");
    img.height=200;
    img.width=104;
    img.src="E:\\jspdev\\img\\13848s.jpg";
    <img SRC="E:\jspdev\img\13457s.jpg" id="image1">
      

  2.   

    <select name="img" onchange="document.all.showimg.src=this.selectIndex+'.gif'">
    <option value=1>image1</option>
    <option value=2>image2</option>
    <option value=3>image3</option>
    </select>
    <img src="1.gif" width=32 height=32 name="showimg">