Link to home
Start Free TrialLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag for India

asked on

how can i get the time of close the popup window

how can we calulate popup window how much time its open ?

i have link in my jsp page when i click one popup window will open.

1. that time i will get the start time .
2. when user click browser close button then how can i get the time of close the popup window ?
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sathish David  Kumar N

ASKER

is it for popoup window ?
because i want to restrict the user ,

if popup window open then user dont work in parent window .

>is it for popoup window ?
yes of course, check line 6 : http://www.w3schools.com/jsref/met_win_open.asp
Avatar of nap0leon
nap0leon

@leakim971
genius idea to assign a variable to the open command.  I've always tried to send a signal back to the parent and had incredibly poor results (sometimes works, sometimes doesn't).
@nap0leon, thanks for your comment
@dravidnsr, thanks for the points

have a good week-end!