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