Quote:
Originally Posted by Annapurna
Hi stonyarc,
I've no idea why, but since yesterday evening the markers don't show up any more. I haven't changed anything.
There is an error message: 'documentElement' is 0 or no object
must be somewhere around this section of the code:
Code:
var request = GXmlHttp.create();
request.open("GET", "markers.xml?r=14505", true);
request.onreadystatechange = function() {
if (request.readyState == 4) {
var xmlDoc = request.responseXML;
markers = xmlDoc.documentElement.getElementsByTagName("marker");
window.setTimeout(mapOne,timeOut);
// document.getElementById('nb').value=markers.length;
id4 = document.getElementById('nb');
id4.innerHTML = markers.length;
Do you have an idea?
Andreas
|
I think that a data error is causing this. Maybe somebody entered a strange char like & in his text. Can you check in the DB?
http://www.trekkingforum.com/forum/markers.xml
If you load that you'll see that it hangs on id 9