This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes window.onfocus in mozilla doesn't work: what to use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window.onfocus in mozilla doesn Watch "window.onfocus in mozilla doesn New topic
Author

window.onfocus in mozilla doesn't work: what to use?

Giulietta Blumarine
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
Hi!
I have to run a script when I load the HTML page, but I can't use window.load (because the page is the result of more jsp and window.load is already used in another jsp, different from mine).
I would like to use window.focus but in Mozilla doesn't work!
What Could I use?

Thanks
Giu
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
you can do something like this

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: window.onfocus in mozilla doesn't work: what to use?
 
Similar Threads
0nClick="window.open..." loses referrer info
Error 501/505 in IE but not Firefox
onload
Passing a Value from Popup Window back to the Parent Window
jsp debugging with struts. eclipse/tomcat