SilenceBringer4 years agoLevel 55ReplyReport Spam@zaster it is to prevent default form submition. When you prevent default action - you are responsible to process the form. But if you do not prevent - you method will be executed AND form will be submitted (how general form submition works) Like Reply
Snapey4 years ago Best Answer Level 122ReplyReport SpamJust to prevent the default behaviour of the submit button which would be to submit the form Like Reply