..
you have to do is to use the setInterval () method in combination with one of the methods provided by the Ajax jQuery library (eg load ()). Here's an example:
/ / A simple function that uses the load () method of jQuery
function update () {
$ ('# Container'). Load ('source-dati.html');
}
/ / Active the setInterval () method to update the content every 5 seconds
Window.setInterval ("update ()", 5000);
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
Javascript (Course)
Complete guide to client-side scripting. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |