Menu
Hello I have the following element in my site:
[code]
<span id=”elem”>Hello</span>
I added the following JavaScript code that should modify the text in the span, but it doesn’t work in Firefox 0.8
It does work in Firefox 1.0
[code]
var obj = document.getElementById(‘elem’);
var nodes = obj.childNodes[0];
nodes.nodeValue = ‘test’;
Does anyone know what the problem is?
I would also appreciate a URL to some knowledge base where I can read more about the DOM of Firefox (0.8 + 1.0)
regards