1function loadlink(){
2 $('#links').load('test.php',function () {
3 $(this).unwrap();
4 });
5}
6
7loadlink(); // This will run on page load
8setInterval(function(){
9 loadlink() // this will run after every 5 seconds
10}, 5000);
11
1function loadlink(){
2 $('#links').load('test.php',function () {
3 $(this).unwrap();
4 });
5}
6
7loadlink(); // This will run on page load
8setInterval(function(){
9 loadlink() // this will run after every 5 seconds
10}, 5000);