Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 4
clear content of node
how do I clear the content of a div without remove the div?
1 ответ
+ 7
document.getElementsByTagName("div")[0].innerHTML = "";
how do I clear the content of a div without remove the div?