Quote:
Originally Posted by VBDev
Ok well replace the multiple occurences of :
Code:
nchattd.innerHTML = xmlnode.getElementsByTagName('col_uname')[0].firstChild.nodeValue;
By :
Code:
if (xmlnode.getElementsByTagName('col_uname')[0].firstChild != null)
{
nchattd.innerHTML = xmlnode.getElementsByTagName('col_uname')[0].firstChild.nodeValue;
}
else
{
nchattd.innerHTML = '';
}
That should fix it, let me know please.
|
Quote:
Originally Posted by wiz569
Cheers m8 that seems to have worked a treat,at least on my test site
Will try the main site now for a while and let you know definitively,
Many thanks m8.
|
Just to let you know this is now working flawlessly on my main site,
thanks for your help m8