P
proudpapa2005
Thanks for having a look!
The issue I am dealing with here is that I am trying to update a
webpage when the focus goes away from the page. For example I have a
xml database and a form that users add data to. Put simply anyways. The
problem is I cannot find a way to use the windows.onblur or onblur with
any other object that updates the page when it is supposed to.
I had some simple code that updates the XML and attempted to use
onblur.
I was using SetTimeout to update the page every minute or so. The
update method works fine, I just cannot come up with the right onblur
code that will only update the page when the focus is lost. If the page
has focus at all i would like the updates to stop, and resume once it
loses focus. It contains input fields, and drop down boxes, etc..and I
think that messes with onfocus onblur of the window. Could someone
point me in the right direction on this.
Any assistance would be greatly appreciated!
The issue I am dealing with here is that I am trying to update a
webpage when the focus goes away from the page. For example I have a
xml database and a form that users add data to. Put simply anyways. The
problem is I cannot find a way to use the windows.onblur or onblur with
any other object that updates the page when it is supposed to.
I had some simple code that updates the XML and attempted to use
onblur.
I was using SetTimeout to update the page every minute or so. The
update method works fine, I just cannot come up with the right onblur
code that will only update the page when the focus is lost. If the page
has focus at all i would like the updates to stop, and resume once it
loses focus. It contains input fields, and drop down boxes, etc..and I
think that messes with onfocus onblur of the window. Could someone
point me in the right direction on this.
Any assistance would be greatly appreciated!