Sign up to request clarification or add additional context in comments.
Comments
1
Its always best practice to use .submit as it will return the data you require and return false (as already mentioned). More importantly for usability it will allow the browser to show consistent behaviour, for example if a person uses tabs or hits 'enter' on the keyboard to submit.