Posts marked with "HTML" in categories

Refresh a Div container in equal intervals of time

Hi this tutorial will help you to refresh a div every 10 seconds. You can change the seconds if you want. For this we are going to use Jquery. The html of the div container jQuery Code <script src="http://code.jquery.com/jquery-latest.js"></script> <script>setInterval(function() {$('#refreshdiv').load('divcontainer.html')}, 10000);</script> divcontainer.html This is loading in the div #refreshdiv. This example will load divcontainer.html in the div #refreshdiv and refresh the div after 10 seconds. If you want to change the file to load replace divcontainer.... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab