?What does the following code do?var fname = document.getElementById("firstName");

What will be an ideal response?

The? codevar fname = document.getElementById("firstName");??finds the element in the current document with theidvalue offirstNameand assigns a reference to that element to the variable namefname.?

Computer Science & Information Technology

You might also like to view...

With a single field primary key design, each record in the table will contain only unique information in its primary key field

Indicate whether the statement is true or false

Computer Science & Information Technology

Excel uses dashed blue lines to indicate manual page breaks

Indicate whether the statement is true or false

Computer Science & Information Technology