0 Replies Latest reply: Dec 14, 2011 7:35 AM by 876690 RSS

    Call JavaScript when user closes browser containing webcenter

    876690
      Hi

      Scenario:
      1. Webcenter is opened in a browser.
      2. User closes the browser

      Requirement:
      - When user closes browser containing webcenter, a java script (or a servlet) should get called.

      As you know, we can call a script in 'onunload()' of body tag.
      But how do we call it with webcenter?

      Thanks.

      Edited by: 873687 on Dec 14, 2011 5:34 AM