This call

 onsubmit="direction_prep(this.the_map_address.value); return false"

never reaches the "return false", because there is no function called
direction_prep().

The "return false" would prevent the default <form> action being
performed. Since the "return false" doesn't happen, that default action
does get performed.

The default action of the form is to reload the current page, with all
variables reset.

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to