gpt4 book ai didi

javascript - jQuery ajaxLoad 事件

转载 作者:行者123 更新时间:2023-12-01 03:42:35 24 4
gpt4 key购买 nike

我见过这样的代码:

$(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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com