This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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?