Is there a way to auto refresh an HTML table inside a DIV tag every few seconds 开发者_如何学运维without refreshing the whole page?
There are more than one ways to achieve this. Easiest thing that comes to mind is have a Javascript timer run every few seconds to make an AJAX call to refresh the DIV tag enclosing the table.
Here is some info on Javascript timing functions
http://www.w3schools.com/js/js_timing.asp
You can choose some javascript frameworks thats already use Ajax to do it. For example Extjs libraty. In this library you will need to invoke method of the store
精彩评论