Hi,
Is it exists any mean to cancel URL change?
I need to display warning if user made some changes in form and then tries to go to another URL.
Some like “All changes will be destoyed: OK/Cancel”
If user click “Cancel” I need to cancel URL change.
ondestory/onurlchange cannot be cancelled, as they occur after related actions.
It’s just a suggestion, but you can try to use a native event, such as hashchange (should work in Jet) or beforeunload.
Thanks!