Skip to content

Instantly share code, notes, and snippets.

@LouisaKB
Last active November 8, 2016 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save LouisaKB/ce9a9ed8ab2008f1cdf7da808197d726 to your computer and use it in GitHub Desktop.
Save LouisaKB/ce9a9ed8ab2008f1cdf7da808197d726 to your computer and use it in GitHub Desktop.
applicationactions
function filter() {
var travelTime = parseInt(document.getElementById("travelTime").value) * 60;
var transportMode = document.getElementById("transportMode").value;
var request = createRequest(travelTime, transportMode);
postRequest(request, "time_filter", timeFilterResponseHandler);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment