i have muliple tables, but i try only to refresh one of them not the whole page. There is running a sql so i want to have always real data I searched but could not find any think which was really useful. Any idea how to solve this issue ?
$(document).ready( function() {
$('.test').load();
refresh ();
});
function refresh ()
{
setInterval ( function() {
$('.test').fadeOut('slow').load().fadeIn ('slow');
refresh();
}, 30000);
}
<table class="test">
<tbody>
<tr><td>test- sql data comes here</td></tr>
</tbody>
</table>
<table class="test2">
<tbody>
<tr><td>test2</td></tr>
</tbody>
</table>
<table class="test3">
<tbody>
<tr><td>test3</td></tr>
</tbody>
</table>