Johan
Johan

Reputation: 3819

jQuery ajaxLoad event

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

Answers (1)

Anil Namde
Anil Namde

Reputation: 6618

Its jQuery custom events

$( "#foo" ).on( "custom", function( event, param1, param2 ) {
  alert( param1 + "\n" + param2 );
});
$( "#foo").trigger( "custom", [ "Custom", "Event" ] );

Upvotes: 2

Related Questions