Skip to content Skip to sidebar Skip to footer

How To Update An Array Table Dynamically With Ajax And Jquery?

I have two files php (gettable.php and index.php) the index file display the result obtained by gettable.php every one seond, I want update the content of my table dynamically in t

Solution 1:

The script code should like this

$(function(){
  function loadData(){
    $('#data').load("gettable.php");
  }

  setInterval(function() { loadData(); }, 1000 ); 

});

Post a Comment for "How To Update An Array Table Dynamically With Ajax And Jquery?"