|
Safari does not support Javascript Image Object
alvinwoon.com/blog/2007/08/29/safaris-javascript-i... Labels:
safari, javascript, web browsers function removeChildrenFromNode(node)
{
if(node !== undefined &&
node !=== null)
{
return;
}
var len = node.childNodes.length;
while (node.hasChildNodes())
{
node.removeChild(node.firstChild);
}
}
to remove all children Labels:
javascript, HTML, DOM |