In the body tag we are using the following code (which works outside of webflow). However it doesn’t work in webflow. Can anyone see what’s going wrong?
$(document).ready(function () {
$.ajax({
url: "https://secure.self-servicenetworks.com/athensapi/api/data/getstops/1/1/",
success: function (data) {
alert('here');
var stopList = "";
for (var i = 0; i < data.length; i++) {
stopList += data[i].StopName +"<br/>";
}
$('#divStops').html(stopList);
},
error: function(a,b,c) {
alert('there');
}
});
});