Jquery - How to initialize elements added to DOM via Ajax call
<p>This worked when content was NOT added via ajax</p>

<pre><code>$('#element a img').css({ 'opacity': '0.5' });
</code></pre>

<p>However it doesn't work when the elements are added via an ajax call. I am familiar with live and bind, but those are for events. </p>

<p>After I add the elements via ajax, I need to do some initialization like adding a span to first one and also setting the opacity on the newly added items, etc.</p>

<p>How can I initialize elements added via ajax?</p>
