Forum Moderators: open
Also, I even tried putting the above code in a timer that runs in the first window but it doesn't seem to work.
What I really want to do is make the browser put focus on a text box in the first window every few seconds even after the user does something in the second window. I tried using document.getElementById('text-box-id').focus() but that doesn't seem to work either.
Any help?
(And yes, I know popups are dumb but I still need to do this ;) )
Also in Firefox preferences in JavaScript -> Advanced the default is for raise or lower windows to be disabled.
I can see why they'd want to not allow a window to keep grabbing focus back but I'd think a window would be allowed to give focus away to it's parent if it wants to.
Let's see some code, Fotiman will set you up. :-)