如何用JS给IMG赋值路径<img src="" id="a"><script> var img=document.getElementById('a')2023-04-17JavaScript170