Hi, could someone help me to understand why this errors
document.getElementById("actContentToGet").contentWindow.document.body.getElementById is not a function
function deleteElement(element){
  var elementID = $(element).attr("class");
  alert(elementID);
  document.getElementById('actContentToGet').contentWindow.document.body.getElementById(elementID).remove;
  alterContent();
  giveAllIDs();
  hoverLoad();
 }