Is it possible to send ajax request in onsubmit () of a form? I tried this and the results were rough, mainly because probably if the browser needs more time to send my request than when sending the original form, my request will be rejected as soon as the location of the loaded page changes, so sometimes it’s never even does not get to the server.
Basically, I want to add an audit log collector that collects login events, I want to connect them to existing applications with minimal intrusion.
source
share