tuxcoder
02-02-2007, 09:43 AM
Hello
I have a function whit i get the ID for the element Span.
Now i want remove this element.
But it dosnt work.
My code:
var k = document.getElementById(nr);
k.removeChild(k.childNodes(0));
Can somebody help me??
I have a function whit i get the ID for the element Span.
Now i want remove this element.
But it dosnt work.
My code:
var k = document.getElementById(nr);
k.removeChild(k.childNodes(0));
Can somebody help me??