I will be linking to the file as follows:
The js.js file will be updated by an admin in my office.
Is it possible to have the js.js file called from the server periodically - say every 1800 seconds (to update the webpage without interrupting the user)?
Also can there be a link to manually call the js.js file as well, in case a user doesn't want to wait 1800 seconds for the next update?
I'm aware of the meta refresh tag but this would interrupt the user and erase text from the form fields that they need to use throughout the day.
Your help is greatly appreciated.
Is that what you were looking for? If not, post more info.
var refresh = setInterval
}, 1800000 // milliseconds.
You can use AJAX to load external content on demand or regular intervals without reloading the page.
you can also try jQuery getScript function http://api.jquery.com/jQuery.getScript/
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)