Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows 7 JavaScript issue window.focus()

27 Feb 2010   #1

Windows 7
Windows 7 JavaScript issue window.focus()

I am using Windows 7 and IE8 in my application. I am opening a new pop window using After submit, my request will reload the same opup. While reloading the page is hiding behind the parent window. I have tried using window.focus() to bring the popup front, its not working. This problem occurs only if i use Win 7 and IE8.
Is this issue specif to Win 7? Is there any soln for this issue?

My System SpecsSystem Spec
29 Apr 2010   #2

Win 7

I have the same issue - window.focus() does not work for me in IE8 in Windows7, but works fine in XP with the same exact version of IE8. Also works fine in mozilla & sarafi - have you had any update on this, or anyone else have updates?
My System SpecsSystem Spec
25 Oct 2012   #3

Windows 7 Ultimate x64

I too have the same issue.
I have not yet got the solution for this.
My System SpecsSystem Spec


 Windows 7 JavaScript issue window.focus()

Thread Tools

Similar help and support threads
Thread Forum
Window with 'Focus' won't stay on top of other windows
Is there a Microsoft fix for this -- or third party program that will fix this? Thank you..........
General Discussion
Active program Window Losing Focus Issue
Hello all, I have been experiencing some window focus loss and it's especially noticeable while gaming. I would be gaming and then I would lose focus on the game and have to click back in manually. Sometimes it doesn't happen but then sometimes it occurs very often within 10 seconds apart....
General Discussion
Firefox window give focus back to orig after few seconds
Windows 7, FF v26. If i have a browser open and click a link that either opens in a new window by default or i right click the link and "open in new window, either way the new window opens and i am reading it then within a few seconds the original window takes focus again. Is there an about:config...
Browsers & Mail
window focus issues (windows 7 pro x64)
when i open a program/window, sometimes it opens in the background instead of the foreground and i have to click the program/window to make it active. sometimes they open as minimized. also, after a restart and a login, i open up internet explorer and the gadgets (clock, calendar, etc) remain on...
General Discussion
window loses focus
For some reason the "focus" goes away from the page I'm on and my cursor disappears Whether it's in Word on the Internet etc. I can click back on the page and it reappears. The "title" bar lightens up so the focus must be going to another program. It happens no matter what I'm looking at. Hide...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App