I have the below code to find elements with their class name:
// Get the element by their class name var cur_columns = document.getElementsByClassName(\'colu
Yes, you have to remove from the parent:
cur_columns[i].parentNode.removeChild(cur_columns[i]);