This is a basic example of dynamic updates using AJAX to request the data from the server. There are more examples here: