0
我有下面的代碼加載partialView:asp.net mvc jquery加載函數和加載圖像?
$(document).ready(function() {
$("#customer_operations_container").load('/Customer/_AddCustomer');
}
我可以告訴加載圖像?
我有下面的代碼加載partialView:asp.net mvc jquery加載函數和加載圖像?
$(document).ready(function() {
$("#customer_operations_container").load('/Customer/_AddCustomer');
}
我可以告訴加載圖像?
這樣做
$(document).ready(function() {
// show loading animation
$("#loading-animation").show();
$("#customer_operations_container").load('/Customer/_AddCustomer', function() {
// this function is the callback of the 'load' method
// hide loading animation
$("#loading-animation").hide();
});
}
非常感謝......我會接受的。 –
很高興我能幫忙:) – Mihai