callback function in custom function
<p>is there a way to call a custom function after another completes. Lots of jquery includes a way to do a call back, like when an animation completes you can just give it another function as a last parameter. But is there anyway to string together <code>function1(params, function1(){alert('2');})</code> or something? I honestly have no idea how it would look.</p>

<p>Thank you</p>
