Solved! Go to Solution.
function submit() { Lat = parseFloat(document.getElementById("inputLat").value); Lng = parseFloat(document.getElementById("inputLng").value); var pt = new esri.geometry.Point(Lng,Lat); map.centerAndZoom(pt, .5); }
function submit() { Lat = parseFloat(document.getElementById("inputLat").value); Lng = parseFloat(document.getElementById("inputLng").value); var pt = new esri.geometry.Point(Lng,Lat); map.centerAndZoom(pt, .5); }