Answers for "hide html element ways"

CSS
2

how hide in html

#elementID{
display:none;
}
Posted by: Guest on December-19-2020
0

hide element

function replaceContentInContainer(target, source) {
  document.getElementById(target).innerHTML = document.getElementById(source).innerHTML;
}

function replaceContentInOtherContainer(replace_target, source) {
  document.getElementById(replace_target).innerHTML = document.getElementById(source).innerHTML;
}
Posted by: Guest on October-19-2021

Browse Popular Code Answers by Language