diff options
author | RossTheRoss <mstrapp@protonmail.com> | 2021-02-23 21:29:57 -0600 |
---|---|---|
committer | RossTheRoss <mstrapp@protonmail.com> | 2021-02-23 21:29:57 -0600 |
commit | 01b2feee26eb0cb2c968a361a9ac2723dbfc2352 (patch) | |
tree | 2c31489383e666dd5988b419f82eb8490387cf96 /csci4131/hw3/myContacts.html | |
parent | brolken (diff) | |
download | homework-01b2feee26eb0cb2c968a361a9ac2723dbfc2352.tar homework-01b2feee26eb0cb2c968a361a9ac2723dbfc2352.tar.gz homework-01b2feee26eb0cb2c968a361a9ac2723dbfc2352.tar.bz2 homework-01b2feee26eb0cb2c968a361a9ac2723dbfc2352.tar.lz homework-01b2feee26eb0cb2c968a361a9ac2723dbfc2352.tar.xz homework-01b2feee26eb0cb2c968a361a9ac2723dbfc2352.tar.zst homework-01b2feee26eb0cb2c968a361a9ac2723dbfc2352.zip |
JS sucks
Diffstat (limited to '')
-rw-r--r-- | csci4131/hw3/myContacts.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/csci4131/hw3/myContacts.html b/csci4131/hw3/myContacts.html index 6981209..8e722e0 100644 --- a/csci4131/hw3/myContacts.html +++ b/csci4131/hw3/myContacts.html @@ -81,20 +81,22 @@ <span id="SearchPoints"> <div id="search" class="inputBox"> <label for="places">Find </label> - <select id="places" name="places"> - <option value="Restaurants">Restaurants</option> - <option value="Hospitals">Hospitals</option> - <option value="Parking">Parking</option> - <option value="Groceries">Grocery Stores</option> + <select id="places" name="places" onchange="check(this.value)"> + <option value="restaurant">Restaurants</option> + <option value="hospital">Hospitals</option> + <option value="parking">Parking</option> + <option value="light_rail_station">Grocery Stores</option> <option value="Other">Other</option> </select><br> - <input type="text" id="others" name="other" minlength="1"> + <input type="text" id="others" name="other" minlength="1"><br> + in <input type="text" id="distance" name="distance" minlength="1"> meters + <button onclick="searchPlaces()">Submit</button> </div> <div id="transit" class="inputBox">TRANSIT PLACEHOLDER</div> </span> </span> - <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAHA_O_rW2n6AAb9lvwOQ3wO36rtstdc90&libraries=places&callback=initMap" async defer></script> + <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAHA_O_rW2n6AAb9lvwOQ3wO36rtstdc90&libraries=places,geometry&callback=initMap" async defer></script> </body> </html> |