- Auto Load Contents and Refresh Div Every 10 Seconds via Ajax and jQuery. There are times when you need to refresh some part of your web page in a specific interval of time. For instance: Shared market updates, Users Online etc. In cases like these, you may need to refresh a part of your web page without reloading the entire content on your page.
- Ajax Update Div Every 5 Seconds. 7/20/2017 0 Comments Tutorial (ASP. If you like, you can see the tutorial for ASP. NET Core instead.
Index.html
The above script will display the element after 3 seconds of loading the webpage. Hide method will hide the text Hey this is saruque at first. Then delay method will create a delay. We can pass time as the parameter here. Here we put 3000 for creating a delay of 3 seconds. FadeIn (‘slow’) is optional.
This contains html and javascript code. load('load_post.php');