Z
zacware
I have an AJAX enabled page which contains a list of records out of a
database which are loaded into a div via an AJAX call.
If the user switches to another window, and comes back to this open
window later on, I want the list of records to be udpated when the
window is back in front
a simple onFocus doesn't work, as what happens is that if a button is
clicked on the window it causes the onfocus to fire as well
I've tried (unsuccessfully) to block onfocus events from reaching the
window object from other objects (like buttons or images), but I can't
seem to get this to work
I just want the div to reload if the window gains focus!!!!!
there is surely something simple I am missing????
database which are loaded into a div via an AJAX call.
If the user switches to another window, and comes back to this open
window later on, I want the list of records to be udpated when the
window is back in front
a simple onFocus doesn't work, as what happens is that if a button is
clicked on the window it causes the onfocus to fire as well
I've tried (unsuccessfully) to block onfocus events from reaching the
window object from other objects (like buttons or images), but I can't
seem to get this to work
I just want the div to reload if the window gains focus!!!!!
there is surely something simple I am missing????