Thanks Andrew, reading around the JS forums, I thought it might be something like that, but here's the map I'm basing it off, which works fine in IE with innerHTML:
http://xelawho.com/map/editablemap.htm ... maybe there's a conflict elsewhere? On 16 oct, 10:45, Andrew Leach <[email protected]> wrote: > On 16 October 2010 16:54, xelawho <[email protected]> wrote: > > > Hi, > > > any ideas why I'm getting an unknown runtime error at line 123 when I > > use the distance calculator here: > >http://www.xelawho.com/map/ > > > when I use IE, but it works fine on Firefox and Chrome? > > IE has problems with innerHTML (even though it's a Microsoft > invention). Using innerText should work fine in IE. Firefox can cope > with innerHTML and does not support innerText. Fun! > > displaystring = ... // whatever your calculation was > if (cell.innerText) { cell.innerText = displaystring } > else { cell.innerHTML = displaystring } -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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-api?hl=en.
