jQuery simple function with callback
<p>hi i'm trying writing down a function wich will do somenthing then bind a callback when finished, i would like to specify the callback when i init the js function...</p>

<pre><code>    function hello(arg1,arg2,callback){
    alert(arg1 + arg2);

   callback;
} 

hello('hello','world',function callback(){
alert('hey 2);
});
</code></pre>

<p>sorry for banal question, i'm trying to understand how to pass a callback function to a function :P</p>

<p>thanks</p>
