Tolls Tester

by Kyle Falconer

HTML

<div id="tolls">
</div>
<div id="tolls_res">
</div>

JavaScript

toll_status = $.getJSON('https://mtlfs.vta.org/mtlfs/toll_status.json', function(data) {
  $("#tolls_res")[0].innerHTML = JSON.stringify(data);

  facilities = toll_status.responseJSON.data.facilities;

  document.getElementById("tolls").innerHTML = facilities;

});