Timeago Jquery plugin not working
<p>Jquery:</p>

<pre><code>&lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="js/timeago.js" &gt;&lt;/script&gt;

$(document).ready(function(){
jQuery("abbr.timeago").timeago();
});
</code></pre>

<p>html:</p>

<pre><code>&lt;abbr class="timeago" title="2008-07-17T09:24:17Z"&gt;July 17, 2008&lt;/abbr&gt;


function Refresh() {

    setTimeout(function(){      
        &lt;?php echo 'var id = '.json_encode($_GET['id']).';'; ?&gt;
        $('#cmdz').load('cmdajax.php?id='+id);  


    },1000);


}
</code></pre>

<p>the #cmdz div contains the abbr tag. time ago working properly in onload but when the div is refreshed it won't works. </p>

<p>for some reason jQuery("abbr.timeago").timeago(); function not working. Here you can find full code:http://stackoverflow.com/questions/11083768/after-ajax-call-jquery-function-not-working-properly</p>
