Skip to content

Instantly share code, notes, and snippets.

@petarjs
Last active August 13, 2017 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petarjs/6b0b6b62bde06b6cbb5a73df700284d6 to your computer and use it in GitHub Desktop.
Save petarjs/6b0b6b62bde06b6cbb5a73df700284d6 to your computer and use it in GitHub Desktop.
<select class="js-stationFrom"></select>
<select class="js-stationTo"></select>
<script>
</script>
[{
"station": "London",
"times": ["10:00", "11:00", "12:00"]
}, {
"station": "Liverpool",
"times": ["10:30", "11:30", "12:30"]
}, {
"station": "Manchester",
"times": ["10:45", "11:45", "12:45"]
}, {
"station": "Sheffield",
"times": ["11:00", "12:00", "13:00"]
}, {
"station": "Leyton Orient",
"times": ["11:15", "12:15", "13:15"]
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment