📜  jquery ajax responseText - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:02.191000             🧑  作者: Mango

代码示例1
// To get jquery AJAX calls working
// remember to add Jquery to your head tag:



var response = null;
var responseTextValue = null;

$.ajax({
    type: "GET",   
    url: "",   
    async: false,
    success : function(data) {
        // Here you can specify that you need some exact value like responseText
        responseTextValue = data.responseText;
        response = data;
    }
});