怎样用js替换Class内容用document.getElementById("id").setAttribute("class","newClass")js中,setAttribute是给对象赋属性的方法,2023-03-02JavaScript130