Consider the following code: When an invalid e-mail When an invalid e-mail address is entered, an alert is displayed to the user, but the form submission is not interrupted. What changes need to be made to the script in order to abort the submission if an invalid e-mail address is entered?

🎲 Try a Random Question  |  Total Questions in Quiz: 25  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
1D0-635: CIW JavaScript Specialist Exam — practice the complete quiz, review flashcards, or try a random question.


Consider the following code: When an invalid e-mail When an invalid e-mail address is entered, an alert is displayed to the user, but the form submission is not interrupted. What changes need to be made to the script in order to abort the submission if an invalid e-mail address is entered?