smallfish
08-17-2006, 10:29 AM
can anyone give me some help on simply:
1. accepting address information via html FORM
2. passing that information to pop-up window
3. filling in the pop-up's url with this:
http://maps.google.com/maps?saddr=[street]+[city]+[state]+[zip]&daddr=103+Cherokee+Blvd+Chattanooga+TN+37405
final result is that a person will enter their starting address into a web form and upon clicking SUBMIT, they will be wisked away to a pop-up screen showing direction from their address to the destination address.
any thoughts?
<form method="get" action="http://maps.google.com/maps?saddr=100+Cherokee+Blvd+37405&daddr=5918+Lake+Resort+Drive+37343" enctype="x-www-form-encoded">
<input type="hidden" name="sort" value="order:street,city,state,zip" />
street<input type="text" name="street" /><br />
city<input type="text" name="city" /><br />
state<input type="text" name="state" /><br />
zip<input type="text" name="zip" /><br />
<input type="button" type="submit" value="submit" />
</form>
1. accepting address information via html FORM
2. passing that information to pop-up window
3. filling in the pop-up's url with this:
http://maps.google.com/maps?saddr=[street]+[city]+[state]+[zip]&daddr=103+Cherokee+Blvd+Chattanooga+TN+37405
final result is that a person will enter their starting address into a web form and upon clicking SUBMIT, they will be wisked away to a pop-up screen showing direction from their address to the destination address.
any thoughts?
<form method="get" action="http://maps.google.com/maps?saddr=100+Cherokee+Blvd+37405&daddr=5918+Lake+Resort+Drive+37343" enctype="x-www-form-encoded">
<input type="hidden" name="sort" value="order:street,city,state,zip" />
street<input type="text" name="street" /><br />
city<input type="text" name="city" /><br />
state<input type="text" name="state" /><br />
zip<input type="text" name="zip" /><br />
<input type="button" type="submit" value="submit" />
</form>