On Apr 26, 4:59 am, Foster <[email protected]> wrote:
> Hi
>
> I have a route planner on my website and would like my users to be
> able to select a "to" location from a drop down box which reads from a
> database. I have the drop down box working so it reads from the
> database but when i click to get the route nothing happens.
>
> I orginally had it working when the user had to manually enter the
> "to" address but now with the drop down box it doesnt work.

Other than the fact you are using the Google Maps API on that page to
display a map, what does this have to do with the Google Maps API?  I
would think a general web development forum would be the best place to
ask / search.

>
> Heres the link to the route planner

http://www.highlandmoo.co.uk/route.php
>
> Any help is appreciated

1. all your <option> elements have the same id as the select element.
That is not valid html, id must be unique.

There are example posted to this group that use drop down menus (I
think even one by Mike Williams), I would suggest you find one and see
what you have to do differently.

  -- Larry

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