kendo UI loading 操作方法:



$(function () {

function displayLoading(target) {

var element = $(target);

kendo.ui.progress(element, true);

setTimeout(function () {

kendo.ui.progress(element, false);

}, 2000);

}

$("#containerButton").click(function () {

displayLoading("#container");

});

$("#pageButton").click(function () {

displayLoading(document.body);

});

});

你可能感兴趣的:(kendoUI)