Hook that applies to elements inserted later
<p>Functions on JavaScript/jQuery selectors apply to elements that were on the page before the function is read. For example,</p>

<pre><code>$('.foo').css('color', 'red');
</code></pre>

<p>applies to elements with class <code>foo</code> at the time this part of code was read, but do not apply to elements that were inserted later via JavaScript/jQuery functions such as <code>append()</code>, etc. Is there a way to define a hook that applies automatically at the time when an element is inserted?</p>
