Uncaught ReferenceError: bierta (or whatever the URL var is) is not defined
当我在下面运行 AJAX 调用时,我得到了。我怎样才能解决这个问题?
$.ajax({
type: "GET",
async: false,
url: "get-single-marker.php",
data: "slug="+<?php echo $_GET['gt']; ?>,
dataType: "json",
success: function(res) {
data = res;
}
});