我见过这样的代码:
$(document).on("ready ajaxLoad",function() {...});
可用 jQuery 事件的完整列表 here我找不到有关 ajaxLoad 事件的任何描述。
这个事件是关于什么的?
最佳答案
它的 jQuery custom events
$( "#foo" ).on( "custom", function( event, param1, param2 ) {
alert( param1 + "\n" + param2 );
});
$( "#foo").trigger( "custom", [ "Custom", "Event" ] );
关于javascript - jQuery ajaxLoad 事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43764812/