A callback function is a function which is accessible by another function and invoked after the first function if that first function completed.

Example

                                        

$("#button").click(function(){
    $("p.button").hide("slow", function(){
        alert("Front end Interview Questions and Answers");
    });
});

Suggest An Answer

No suggestions Available!