Javascript Question
Javascript Question
Out of context: Reply #5
- Started
- Last post
- 5 Responses
- nicora20
something like this: call the parent tag
start = document.getElementById("start...
for (i=0; i < start.childNodes.length; i++)
{
start.childNodes[i].innerHTML = "";
}if you have nested elements, then you need to check the length of start.childNode[i].childNodes.le... then call the function recursivly