submit

fun submit()(source)

Fires when a FORM is about to be submitted.

MDN Reference