move all children out of the element. while (el.firstChild) parent.insertBefore(el.firstChild, el);. // remove the empty element. parent.removeChild(el); ...
確定! 回上一頁