Этот код
$("#loading").ajaxStart(function() {
        alert("start");
        $(this).show();
    });
в моей надписи
<div style="text-align:center;"><img id="loading" src="../images/common/loading.gif" alt="" /></div>
Вот полный запрос ajax:
$.ajax({
        type: "POST",       
        url: "http://localhost/WebServices/Service.asmx/GetResults",
        data: jsonText,
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function(response) {
            var results = (typeof response.d) == 'string' ? eval('(' + response.d + ')') : response.d;
            PopulateTree(results);
        },
        error: function(xhr, status, error) {
            var msg = JSON.parse(xhr.responseText);
            alert(msg.Message);
        }
    });
$("#loading").ajaxStart(function() {
        alert("start");
        $(this).show();
    });
    $("#loading").ajaxStop(function() {
        alert("stop");
        $(this).hide();
        $("#st-tree-container").show();
    });
никогда не запускает предупреждение "начать", даже если показано, что gif вращается. AjaxStop запускается, как ожидалось. Любые идеи, почему?
