Add code to created DOM Elements using live()
<p>I'm trying to set this code on new elements been added by jQuery using live()</p>

<pre><code>var frcode = '&lt;iframe scrolling="no"&gt;&lt;/iframe&gt;';
$('.foo:nth-child(3n),.foo:last-child').after(frcode);
$('.foo:first').before(frcode);
</code></pre>

<p>I tried livequery plugin but not working good with me</p>

<p>the Livequery plugin i tried to use </p>

<pre><code>$(".foo:nth-child(3n),.foo:last-child").livequery(function(){
   $(this).after(frcode);
});

$(".foo:first").livequery(function(){
   $(this).before(frcode);
});
</code></pre>
