How to find out which button caused the onbeforeunload event?

S

Sunil Menon

Dear All,
I have an aspx page that has some submit buttons. I would like to
do some special processing on one of the button clicks...but
window.event.srcElement.tagName reurns me null and does not display
the button that caused the unload event. How do I find which button
caused the unload event?

Please help

TALIA
Many Regards
Sunil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top