File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes need a listener for onTabChange in firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "need a listener for onTabChange in firefox" Watch "need a listener for onTabChange in firefox" New topic
Author

need a listener for onTabChange in firefox

Mahendran Aiyappan
Ranch Hand

Joined: Sep 05, 2005
Posts: 102
Hi guys,
I need a javascript listener for changing the Tab of the Mozilla Firefox. Also I need a javascript listener for every refresh of a page. I am using load event listener,but it is working only if you open a new window.

Thanks for your comments.

Mahendran A
Daesung Park
Ranch Hand

Joined: Mar 22, 2007
Posts: 68
It is impossible to listening to tab change. JavaScript doesn't concern browser's tab behavior.


Daesung Park

BLOG
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
onload should fire for a page refresh.

How are you refreshing the page and it is not being caught?

How are you adding an onload event.

Also the other poster is correct, there is no events for browser tabs.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need a listener for onTabChange in firefox
 
Similar Threads
Calling WebService using plain JavaScript
Determining if a download fails or when successful
To check for javascript
how to assign my function to onclick
Clear firefox cookies on closing the window