Attach event:
Usage: <HTMLFormElement>.onSubmit(callback <Function>)
Note: This is just a shorthand for the .on() function for attaching to the "submit" event. It adds a check for a valid parent element, though.
Note: click the submit button to submit a form:
This includes a chaining test: it should set an outline via CSS at the same time.