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