Web(HTML5)
ul 태그 안에 있는 li 지우기 ( Remove ul tag child)
swconsulting
2017. 8. 30. 18:17
function removeSidoInternalInfoli() {
var ul = document.getElementById('sidoInternalList');
if (ul) {
while (ul.firstChild) {
ul.removeChild(ul.firstChild);
}
}
}