Can someone explain why this code cant work?
function Distance() { var lat1 = (document.getElementById("lat1").value); var lon1 = (document.