title: Trigger function after <li> element is added with jQuery?
body: <p>I have an html <code>ul</code> list and a button add that creates new <code>li</code> elements.
  What i need is to call a function after the new <code>li</code> element is created but i'm facing the problem that the click event (or what ever it does) of the button with the function to add the new <code>li</code> element is unaccessible to me, so the only way i can access is thru a new event bind to the button.</p>
  
  <p>If i create a new bind event to the button, i can't make anything because the event is fired before the new <code>li</code> is created.</p>
  
  <pre><code>$addButton.bind("click", myFunction);
  </code></pre>
  
  <p>So what i need is something that can detect that the new <code>li</code> was added to the main <code>ul</code>.
  What's the best approach?</p>
  
  <p>And i repeat just in case... i can't access the function that creates the <code>li</code> element.</p>