21. To check a group of fields and trigger an error : 1321003.
21. To check a group of fields and trigger an error message if any of them is empty, you use a(n) ____ statement.?
a.?debuggerb.?loop
c.?console.log()d.?submit
22. For any fields that require numeric values, you can use JavaScript’s built-in ____ function to determine whether a user actually entered a number.
a.?submit()b.?reset()
c.?validate()d.?isNaN()
23. When a control’s value is found to be invalid during constraint validation, the ____ event is triggered.?
a.?inputb.?invalid
c.?changed.?focus
24. Instead of document.getElementsByTagName(“form”)[0], you could use the code?
a.?document.forms[0]
b.??document.form[0]
c.?document.getFormElements[0]
d.???document.forms.form[0]
25. Use of the ____ attribute of the form element is not allowed in the strict DTD for XHTML.?
a.?idb.?class
c.?named.?method
21. To check a group of fields and trigger an error : 1321003