What it means is that the API can't .appendChild an XML Element to a
HTML element.
The problem starts here:
var getDirections =
<form action="http://maps.google.co.uk/maps" method="get"
target="_blank">
<p><label for="saddr">Your postcode</label>
<input type="text" name="saddr" id="saddr" value="" />
<input type="submit" value="Go" />
'<input type="hidden" name="daddr" value="' + point.lat() + ','
+ point.lng() '"/>
<input type="hidden" name="hl" value="en" /></p>
</form> ;
Where Firefox seems to have interpreted your strange syntax as
constructing an XML Element. Try making getDirections into a String.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---