Is there an event that I can register for this, every time a user clicks on a tab, which means that they were on my page tab, clicked on another tab, and then returned to my tab.
EDIT: By tabs, I mean browser tabs, not jQueryUI tabs.
Matijis provided this answer in a comment, but I wanted to accept it, so here it is as an answer.
$(window).on('focus', function() { // your code });
Try using jquery $ (selector) .focusin or: focus, they work the same.
http://api.jquery.com/focusin/
http://api.jquery.com/focus-selector/
Source: https://habr.com/ru/post/908916/More articles:WPF Security ObservableCollection - multithreadingHow can I create a PHP extension on Windows? - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/908913/c-can-i-cast-a-vector-derivedclass-to-a-vector-baseclass-during-a-function-call&usg=ALkJrhgZ3ws6tVAsj0NkSGMmBUTr0rcJDgSynchronizationContext.Current is null to resolve with Unity in WPF - c #Is it possible to load localization resources at runtime? - androidServer side Mac App X purchase purchase verification - designRuby on Rails - Could not find a suitable strategy for: google_oauth2 - ruby-on-railsUnderstanding the Zend Framework loading process and loading resources from application.ini - phpStreaming JSON with AFNetworking on iOS - jsonSurfaceView and ANativeWindow - androidAll Articles