jQuery修改图片路径 $("#index")[0].src="images/index_1.jpg"; //更改ID为index的图片的src值$("#index").attr("src","images/index_1.jpg"); //效果同上; ...