title: jquery event after html() function
body: <p>Is there a way to launch an event after html() has been fired? Such as:</p>
  
  <pre><code>$.post("ajax.php", {data :data}, function(data){
     $("#countries").html(data, function(){
        alert("test");
     });
  });
  </code></pre>
  
  <p>This is not working.</p>
  
  <p>EDIT: I am asking this because I want to do few things(another call) with the information coming from the call... I wanted to simplify the example...I guess programmers always want to know why...</p>
  
  <p>So here it is the example updated</p>
  
  <pre><code> $.post("ajax.php", {data :data}, function(data){
     $("#countries").html(data, function(){
          var id = $("#countries option:selected").attr("id");
          getRegions(id);
     });
  });
  </code></pre>