“object required” — ajax in IE

cafassept

New Member
I have the following code :\[code\]secondLevelElement = document.createElement('div');if(xmlDoc.getElementsByTagName('get_updated' + i)[0].childNodes[0].nodeValue =http://stackoverflow.com/questions/3652221/= false) { secondLevelElement.setAttribute('class', 'content disabled');updatedDateStr = "<span class=\'red\'>Updated to: " + xmlDoc.getElementsByTagName('Updated_to' + i)[0].childNodes[0].nodeValue + "</span>"; } else { secondLevelElement.setAttribute('class', 'content'); updatedDateStr = "<span>Updated to: " + xmlDoc.getElementsByTagName('Updated_to' + i)[0].childNodes[0].nodeValue + "</span>"; }\[/code\]from the php that creates the xml:\[code\]<?php echo '<Updated_to'.$i.'> '.$var1['date'].'</Updated_to'.$i.'>'; ?>\[/code\]the value of 'get_updated' can be 0 or 1.in Firefox it's working.the error in IE is "object require" regarding to the last line.thank you.
 
Back
Top