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
10 months agoEna
10 months agoJenelle
10 months agoEden
10 months agoJeannetta
11 months agoSharen
11 months agoMaryrose
11 months ago