on 01-28-2015 11:42 AM
Hi,
How to catch browser events to do validations especially when user try to close browser directly without cancelling upload using some button or some other file saving functionality.
need to clear uploaded files or earlier steps related data whenever user tries to close browser.
Please share recommendation to deal this browser close approach.
Regards,
Koti Reddy
That is standard Javascript functionality -- the window.onbeforeunload hook -- which even made it's way to the core Component
Message was edited by: Robin van het Hof Made a typo, should of course be window.onbeforeunload, not window.unload... The former allows to show a popup, the latter only allows for cleanup etc, and is not really suited for validation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.