Name two advantages of identifying form elements using the getElementById() method rather than by specifying their index

Question:

Name two advantages of identifying form elements using the getElementById() method rather than by specifying their index numbers within the form.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

JavaScript

ISBN: 9781305078444

6th Edition

Authors: Sasha Vodnik, Don Gosselin

Question Posted: