jQuery Callback


jQuery Callback are function passed as a parameter and these are executed after some task or effect is finished.

Example : $("btnShow").click(function()( $('#eduTutorial-div').show("slow", function(){ // this is callback function and called when element is complacently shown alert(' div "eduTutorial-div" is shown completed.'); }); });
The available helper function are:- callbacks.add(), callbacks.disable(), callbacks.disabled(), callbacks.empty(), callbacks.fire(), callbacks.fired(), callbacks.fireWith(), callbacks.has(), callbacks.lock(), callbacks.locked(), callbacks.remove(), jQuery.Callbacks()