www.webdeveloper.com
Results 1 to 3 of 3

Thread: check if the current browser tab has lost focus

  1. #1
    Join Date
    Oct 2009
    Posts
    2

    check if the current browser tab has lost focus

    hi
    i have to check if the current browser tab has lost focus.
    if so, i will do something in JAVASCRIPT.

    how can i check if the user is focused on my page?

    i couldn't do <body onlostfocus="" /> - it didn't work..

  2. #2
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773

  3. #3
    Join Date
    Oct 2009
    Posts
    2
    thanks!
    it helped!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles