$(function() { $(document).ajaxStop(function() { $(this).unbind("ajaxStop"); //prevent running again when other calls finish LoadContact(); }); LoadCategories($(‘#Category‘)); LoadPositions($(‘#Position‘)); LoadDepartments($(‘#Department‘)); });
原文:http://www.cnblogs.com/fcq121/p/3940174.html