0
我身邊有見過這個代碼:jQuery的ajaxLoad事件
$(document).on("ready ajaxLoad",function() {...});
可用
here jQuery的事件,我無法找到有關
ajaxLoad事件的任何說明的完整列表
。
這件事是關於什麼的?
我身邊有見過這個代碼:jQuery的ajaxLoad事件
$(document).on("ready ajaxLoad",function() {...});
可用
here jQuery的事件,我無法找到有關
ajaxLoad事件的任何說明的完整列表
。
這件事是關於什麼的?
它的jQuery custom events
$("#foo").on("custom", function(event, param1, param2) {
alert(param1 + "\n" + param2);
});
$("#foo").trigger("custom", [ "Custom", "Event" ]);
也許自定義事件?查看[jQuery Custom Events](https://learn.jquery.com/events/introduction-to-custom-events/)。 –