jQuery Callback Function.

A callback function is a function that is executed once the effect is complete. The callback function is passed as an argument to the effective methods and they typically appear as the last argument of the method.jQuery Callback Function.

Syntax:-

$(selector).hide(speed,callback);

<script>
$(document).ready(function(){
    $("button").click(function(){
        $("p").slideToggle("slow");
        alert("The slide toggle effect has completed.");
    });   
});
</script>

Thanks.

jQuery Callback Function.expoundsofttechsolution

What is inheritance?