Know It All
New member
I have tried a million different methods:
document.getElementsByTagName("body").value=' '
"-".innerHTML
document.getElementById
document.getElementByName
document.body.value=" "
"-".innerHTML
and many others, and I just cant figure it out. I need to use JS to clear the HTML in a page, so that I can rewrite the page. Does anyone at all know how to clear the page by using only JS?
document.getElementsByTagName("body").value=' '
"-".innerHTML
document.getElementById
document.getElementByName
document.body.value=" "
"-".innerHTML
and many others, and I just cant figure it out. I need to use JS to clear the HTML in a page, so that I can rewrite the page. Does anyone at all know how to clear the page by using only JS?