×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    2

    browser close :: which event in JAVA script.

    Is there anyway to track the browser closing event by Javascript on nokia devices.
    I am using window.onbeforeunload() event, but its not working.

    -Pushkal.

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: browser close :: which event in JAVA script.

    Welcome to forum!

    With N9 you can use:
    Code:
    window.onbeforeunload = function() {
        return 'Remember to save changes!';
    }
    Unfortunately this won't work with Symbian Browsers like 7.1 / 7.4 / 8.x.

    Br,
    Ilkka

  3. #3
    Registered User
    Join Date
    Sep 2012
    Posts
    2

    Re: browser close :: which event in JAVA script.

    Thank you Ilkka for replying and confirming. i needed this for older version. this requirement was for a functionality where i wanted user to not exit the browser without confirming certain things on the web page.
    - Regards
    Pushkal.

Similar Threads

  1. QWebpage close event.
    By suneethapuchakayala in forum [Archived] Beginning Qt
    Replies: 15
    Last Post: 2011-03-15, 12:04
  2. Replies: 2
    Last Post: 2010-09-25, 08:18
  3. how to seize the event of close?
    By crystal azalea in forum Symbian
    Replies: 1
    Last Post: 2010-04-26, 15:49
  4. Flip close event
    By chrisz@symsys-it.com in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-07-19, 23:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×