0 votes
in JavaScript by
Which statement about the name and id attributes of form fields is false?

It is customary to give form fields both attributes, with the same value if possible.

The id attribute is what is sent when the form is submitted.

The name attribute can be used to access the field using getElementsByName().

Either attribute may be omitted if it is unused.

1 Answer

0 votes
by

The id attribute is what is sent when the form is submitted. 

Related questions

0 votes
asked Aug 17, 2023 in iSecurity by rajeshsharma
+1 vote
asked Feb 6, 2020 in JavaScript by rajeshsharma
...