I declare the lat and lng points and then try and write text & the lat/
lng values to a textarea id "outtext". It works perfectly in FF (not
one error found) but IE says there is an error right at the start of
line: outputtext.innerHTML
// declare lat, lng
latpoint = point.lat().toFixed(5);
lngpoint = point.lng().toFixed(5);
// Output to textarea
outputtext = document.getElementById('outtext');
outputtext.style.display = "block";
outputtext.innerHTML = '<iframe
src="http://www.test.com">\n</
iframe>\npoint = new GLatLng('+latpoint+', '+lngpoint+');\nmarker =
new GMarker(new GLatLng('+latpoint+', '+lngpoint+');\n<!-- Removal of
the below line is against our Terms & Conditions -->\nBrought to you
by Dave';
It seems IE hates the document.getelementby id and .innerhtml - how
can I fix the above?
Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---