how to update the every sec in jquery
<p>I am trying to get the data from the php file and update every second so when the information changes in the php file it will auto update    </p>

<pre><code> $(document).ready(function() { 
$.ajaxSetup ({
    cache: false
});
 $("#hidden").hide(); 
 $("#textfield").val(""); 
 $("#textarea").val(""); 

 var hol=$(this).attr('myval'); 
 var formContent ="action=getlink&amp;link="+hol; 

 $.getJSON("inc/json.php",formContent, function(json){ 
 $("#textfield").val(json.name); 
 $("#textarea").val(json.desc); 
 $("#formHeader").text("Edit"); 
 $("#ajaxBox").text("All info loaded OK"); 
 });


 });
</code></pre>
