我试图找出再次单击按钮后返回旧图像的代码
<script>
function setNewImage()
{
document.getElementById("img1").src="Jaguar-logo-2012.png";
}
</script>
</head>
<body>
<img id="img1" src="Jeep-logo-3D-2560x1440.png" width="400px" >
<br>
<button onclick="setNewImage()">Click Me</button>
</body>