Jump to content

djmcmann

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About djmcmann

djmcmann's Achievements

0

Reputation

  1. I am writing code to make a form that first has a choice of up to 5 locations for a business. You then have 2 other inputs, your current location and your current zip code. When you hit the submit button it then opens Yahoo Maps in a new window and displays driving directions from the current location to one of the 5 locations you picked in the form. Right now the code is opening the Yahoo Maps page and populating the current location with the address and zip code. However it will not populate the second line with the address from the drop down menu choice. I am totally stumpped on this now can any one offer any help. The code is below: Thanks in advance Dave <form name="frmFindDirections" method="get" target="winExternalSite" action="http://maps.yahoo.com/py/ddResults.py" style="height: 231px"> <div> <input type="hidden" value="Tmap" name="Pyt" /> <input type="hidden" value="1" name="doit" /> <input type="hidden" name="newname" value="" /> <input type="hidden" name="newdesc" /> <div class="DI_data_field"> <div style2="" class="style48"> <span class="style28"> <span class="style45"> <select name="q2" style="height: 31px; width: 93%"> <option selected="selected">Choose Your Ed Robinson Cleaners Location - Here <option value="2551 Forest Drive, 29204">Location A 2551 Forest Drive Columbia SC 29204</option> <option value="4903 Forest Drive, 29206">Location B 4903 Forest Drive Columbia SC 29206</option> <option value="800 Sparkleberry Lane, 29229">Location C 800 Sparkleberry Lane Columbia SC 29229</option> <option value="4221 Hard Scrabble Road, 29223">Location D 4221 Hard Scrabble Road Columbia SC 29223</option> <option value="317 Royal Tower Drive, 29063">Location E 317 Royal Tower Drive Irmo SC 29063</option> </select> </span><strong><span class="style25"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><br /> <br /> Enter a Starting Street Address:</font> </span></strong> <span class="style28"> <span class="style45"> <input size="40" name="newaddr" style="width: 65%; height: 24px" /></span></span> <div class="DI_data_field"> <div class="style48"> <strong><span class="style25"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Enter City, State or Zip Code</font></span> </strong></div> <span class="style28"> <span class="style45"> <input size="40" name="newcsz" style="width: 35%; height: 21px" /></span></span> <br /> </div> <div class="DI_controls" style="height: 66px"> <span class="style28"> <input type="submit" value="Get Directions" name="Select" style="width: 36%; height: 27px" class="style49" /></span> <br /> </div> </div> </form>
×
×
  • Create New...