con setInterval da lo stesso risultato cmq ecco il codice:
codice:
function ref(){ 
$(document).ready(function(){ 
$('*').hide(); 
$('*').fadeIn(); 
$.ajax({ 
type: "GET", 
url: "ins.php", 
data: "who=<?php echo $a; ?>", 
dataType: "html", 
success: function(msg){ alert('chiamata riuscita'); $('#messing').html(msg); }, 
error: function(){ alert('errore nella chiamata'); 
} 
}); 
}); 
setTimeout(ref(),500);