On Mar 12, 1:10 pm, Daniel <[email protected]> wrote: > > I got the original code from this Google Maps API V3 > article:http://code.google.com/intl/sv-SE/apis/maps/articles/phpsqlajax_v3.html > > If someone with the authority to edit the article sees this, maybe you > should implement this code instead so it works in IE8 too?
That's an article originally written by Pamela, so perhaps writing her name in this message can do some magic. ;-) -- Marcelo - http://maps.forum.nu -- > > On 12 mar, 12:34, Marcelo <[email protected]> wrote: > > > > > Your parseXML function seems to fail because in the callback of > > function downloadUrl() you are returning request.responseText > > > Try changing: > > --------------------------------- > > request.responseText > > to > > request.responseXML > > --------------------------------- > > > or better, change: > > --------------------------------- > > request.responseText > > to: > > request > > > AND > > > var xml = parseXml(data); > > to: > > var xml = data.responseXML; > > --------------------------------- > > > -- > > Marcelo -http://maps.forum.nu > > -- > > > On Mar 12, 10:59 am, Daniel <[email protected]> wrote: > > > > Hi, > > > I am generating and displaying markers via XML and it's working fine > > > in Firefox, Google Chrome and Opera. In IE8 the markers won't display. > > > > The javascript debugger is giving an error at this line: > > > var markers = xml.documentElement.getElementsByTagName("marker"); > > > > The error: > > > 'documentElement' is null or not an object > > > > Any idea what the problem is? > > > Website:http://tresuri.com/big-map/ -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
