@jnl2 Are you referring to this topic? I don't see any references to returning anything in there. In this case, I suspect
return false is being used to prevent the page from reloading after you submit the form.
are you saying that the submit() method would be triggered when the DOM is ready own its own without having a user click on the input element's submit button?
No, I don't think so. When the form gets submitted, if it reloads the page then all of the modifications you made to the DOM will now be lost since the (in this case, virtual) browser pulls in the HTML file, which you didn't change.
Does this answer your question?