Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need a listener for onTabChange in firefox

 
Mahendran Aiyappan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is impossible to listening to tab change. JavaScript doesn't concern browser's tab behavior.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic