tenho essa function que chama um arquivo que faz a contagem de registro no mysql
mas não esta funcionando, o que esta errado?
<script> function() { setInterval(function() { $.ajax({ type: "GET", url: "temporeal.php?id=283" success: function(html) { // html is a string of all output of the server script. $("#element").html(html); } }); }, 5000); }); function() </script>
Grato,
Toninho
Edição feita por: cidadao, 10/10/2012, 09:57.