Callback functionality in jQuery components
<p>I am going through jQuery tutorials, and I got a query with jQuery callback functions. The below is a very good example of jQuery callback function.</p>

<pre><code>$("p").hide(1000,function(){
    alert("The paragraph is now hidden");
});
</code></pre>

<p>It works fine, but how can we know that to what function does this callback functionality is available?</p>

<p>For example, how can we apply this callback functionality to an on-click button?</p>
