📜  ajax - Javascript 代码示例

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

代码示例4
$.ajax({
        method :'GET',
        url: baseUrl+'ajaxcontroller/LoadData_To_View',
        success:function(data){
        $('#item').html(data);
        alert(data);
        },
        complete: function(){
        $('#loadingImage2').hide();
        },
        error:function (xhr, ajaxOptions, thrownError){alert(thrownError);}
        });