Hi all,
Can anyone please tell me why this is working in IE6 but not in
Mozilla??
theLabel = document.getElementById("searchLabel");
theField = document.getElementById("searchField");
theField.value = theLabel.firstChild.nodeValue;
And this doesn't work either:
theField.value = theLabel.childNodes.item(0).data;
What's wrong?
Many thanks,
_nmk