The following code snippet is used in form validation, the validate function is supposed to return a true if all validations are successful and false if the validation fails. However, the data is always submitted even if the validation fails, what could the cause be?
<form name="frmadd" method="post" action="add.asp" onsubmit="validate()">
Correct Answer: There should be a return statement before the call to the validate function
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More DHTML MCQ Questions