remove last child node code example
Example: javascript remove last child element
function remove_last_child() {
var select = document.getElementById('parent_element');
select.removeChild(select.lastChild);
}
function remove_last_child() {
var select = document.getElementById('parent_element');
select.removeChild(select.lastChild);
}