Jquery - How do I start a function when div content is changed
<p>I searched for a solution like:</p>

<pre><code>if( content from $('#div') is change -&gt; start function test(); )
</code></pre>

<p>I change the content with <code>$('#div').html('blub');</code></p>

<p>Thanks in advance! 
Peter</p>

<p>PS: I know, it is possible with setTimeout, but this is a really dirty solution :/</p>
