diff --git a/city-bill.js b/city-bill.js index 15034eb..bb03c35 100644 --- a/city-bill.js +++ b/city-bill.js @@ -118,6 +118,11 @@ }); $('#city').change(function(){ updateBill(); + // Create a log of what city was selected + // There should be an entry in the web server's log showing a + // successful request for "city_log.html?city=selected_city". + // The city_log.html file is empty. + $.get("city_log.html", {city:$('#city option:selected').val()}); }); }); diff --git a/city_log.html b/city_log.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/city_log.html