frame reload() -> reloaded frame gets the focus

H

Harald Henkel

Hello everybody.

I'm trying to do the follwing:

I have 2 frames.
One is the "controller", with a form and a couple of buttons and input
fields.
The other is displaying current status information (this is a database
application with data updated in the background). This is done using a
timer event in the "controller" frame which calls something like
top.status.location.reload().

The problem now is, that the reloaded status frame receives the focus
and the controller frame looses it, which is bad, since the user may
be typing in some field.

Is there any way to prevent the loss of the fucus ?
Does it help, if the reload() is called from within the html (jsp)
file which is loaded into the "status" frame ?

Thanks for any help,
Harald Henkel

P.S.
The application should be running on IE5 or above
(at least at the moment).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top