I'm totally making this up, but what about
:
<script>
function refreshMe()
{
window.location = window.location;
}
</script>
....
<BODY onFocus="refreshMe()">
....
I dunno if "window.location = window.location" will really force a new
server request of the page. refreshMe() might need to be written using this
trick:
var now;
now = new Date();
window.location = window.location + '?' + now.getTime();
This technique of appending the current time as a parameter to a resource
name works with images; it prevents the browser from using a cached copy of
the image (webcams use this trick to force the browser to grab the same
image file from the server over and over without using the cached version),
but I have NO idea if it works with window.location :p
<je**@dnuk.com> wrote in message
news:a4********************************@4ax.com...
Hello,
I'm building an internal web application using HTML/PHP/Javascript.
The system is flexible to the point where the user can have as many
browser windows open for each part of the system.
I would like a browser window that has just gained the focus to
refresh. Is this possible and how?
Thanks,
Jeff