How exactly does anyone manage to submit a form before DOMContentLoaded gets fired? Just curious?
If we were talking about window.onload , then I would understand, because it may take some time for the page to fully load (especially if the content has not been cached before), but DOMContentLoaded ?
In most cases, it fires so fast after the page starts rendering, it is almost impossible to be so fast and submit the form.
source share