Hi

Try changing this ...

<form action="#" onsubmit="setDirections(this.from.value,
this.to.value, this.locale.value); return false">

to this...

<form action="#" onsubmit="setDirections(this.fromAddress.value,
this.toAddress.value, this.locale.value); return false">

You should also name & id your forms ...

<form id='form1' name='form1' action='#' ... etc,

Not tested, so you might need to play, but your calling from.value
when you called the ID input fromAddress, for ease, call them both the
same....

<input type="text" size="25" id="fromAddress" name="from" value="Enter
Address"/>

becomes

<input type="text" size="25" id="fromAddress" name="fromAddress"
value="Enter Address"/>

etc etc

...

http://groups.google.com/group/gtrack

On Jan 21, 1:16 pm, "David Brown :o)" <goo...@kitemap.co.uk> wrote:
> Hello,
> I'm having a problem with my site and wondered if anyone can help.
> I'm sure I'm missing something obvious but am a bit useless.
> The 'get directions' button doesn't work, I don't think it's reading
> from the input box.  Site is here :http://www.selectfire.co.uk/location.htm
> What have I missed?
>
> Also while I'm here, I might as well grab some basic HTML help.
> In the left directions column, I want to change the font size, which
> is at the moment reading from my style sheet.  When I try and set the
> font size it only effects the total distance font (3.2 mi (about 9
> mins)) and the 'Map data ©2009 Tele Atlas' font.  I can seem to over
> ride the style sheel for the actual directions.
>
> Thank you
>
> David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to