title: jQuery simple function with callback
body: <p>I'm trying writing down a function which will do something 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>