js获取ID值出错还真没看明白你要问什么。<div id="div1">hello<div>document.getElementById("div1")这里的参数应该2023-03-15JavaScript200