jquery on form submit function code example Example: when a form is subbmited jquery $("#myform").submit(function(e) { })