[OSM-dev] Javascript Problems

Paul Lenz paul at lenz-online.de
Wed Feb 13 07:04:15 GMT 2008


I am working on a map where an OSM map is overlayed
with POI icons which the user can choose by himself:
http://www.lenz-online.de/divers/osm/osm.htm


This runs already rather well with Firefox, but not 
with the IE. And I can not find out why. There are
4 forms on the page but IE finds only 3. To check 
it out please go to the test page
http://www.lenz-online.de/divers/osm/osm1.htm
click on the button "POI control", then select
"parking" from the list. An alert window will
show you the result of 
document.getElementsByTagName("form").length
Firefox shows 4, IE shows 3.


I hope somebody can find the reason and I hope
my mistake was not too stupid :)


Paul




More information about the dev mailing list