Update your contents after x seconds with ajax setInterval function

1 Example : With jquery,update div contents after 5 seconds



2 Example: just alert “hello San” to test this function after 10 seconds