CIW 1D0-735 Exam - Topic 4 Question 19 Discussion
Consider the following code:The code displays a pop-up alert message if the username is less than 6 characters and submits the form. What change should be made to prevent the form from submitted if the username is less than 6 characters?
B) Return false; should be added after the alert call on line 7
A) The function call on line 13 should be changed to validateForm();
C) submit false; should be added after the alert call on line 7
D) The submit event handler on line 13 should be moved to line 16
Malissa
8 months agoEna
9 months agoJenelle
9 months agoEden
9 months agoJeannetta
9 months agoSharen
9 months agoMaryrose
10 months ago