📌  相关文章
📜  js 更改 div 内容 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:11.995000             🧑  作者: Mango

代码示例2
let element = document.getElementById("test");
let newContent =`
    

New Title

New Content

`; //changing the content in your element element.innerHTML = newContent;