execute something after callback has been executed
<p>I am trying to execute a function after a callback has been executed.</p>

<p>here is my example</p>

<pre><code>var callback1 = function () {
  // check input ($(this).val()) for validity here
};
var callback2 = function () {
 // make other things after callback1 has finished
};

$("input[type='text']").change(callback1);
</code></pre>

<p>Then when the callback1 has been executed I would like to execute the callback2.<br>
What is the proper way to do this by using jquery/javascript</p>
