📅  最后修改于: 2022-03-11 15:04:13.759000             🧑  作者: Mango
// add without creating a new element
document.getElementById('my_id')
.insertAdjacentHTML('beforebegin', 'your_html_code');