Reputation: 3819
I have seen this code around:
$(document).on("ready ajaxLoad",function() {...});
in the full list of jQuery events available here I can not find any description about the ajaxLoad event.
What is this event about?
Upvotes: 0
Views: 200
Reputation: 6618
Its jQuery custom events
$( "#foo" ).on( "custom", function( event, param1, param2 ) {
alert( param1 + "\n" + param2 );
});
$( "#foo").trigger( "custom", [ "Custom", "Event" ] );
Upvotes: 2