adplus-dvertising
frame-decoration

Question

What is the property to access the first child of a node?

a.

timestamp.Child1

b.

timestamp.Child(1)

c.

timestamp.Child(0)

d.

timestamp.firstChild

Posted under JavaScript

Answer: (d).timestamp.firstChild

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the property to access the first child of a node?

Similar Questions

Discover Related MCQs

Q. What are the properties supporting CSS styles for a document element?

Q. The style property belongs to while of the following object?

Q. What is the purpose of the event handlers in the JavaScript?

Q. Which handler is triggered when the content of the document in the window is stable and ready for manipulation?

Q. When a program contains extensive use of event handlers, which of the following is necessary?

Q. What is the code snippet to find all container elements with class 'reveal'?

Q. What is the code snippet to update the content of the timestamp element when the user clicks on it?

Q. Which of the following is not an object?

Q. What is the code snippet to change the class and let the stylesheet specify the details?

Q. The libraries that build a new higher-level API for client-side programming is

Q. Which of the following is not a framework?

Q. Which of the following frameworks focuses on DOM and Ajax utilities?

Q. What is the purpose of Dojo framework?

Q. Which is the in-house library of Yahoo!?

Q. What does Dojo and YUI have in common?

Q. What are the two incompatible versions of YUI?

Q. Which of the following framework was used by Google for Gmail?

Q. Which of the following is a web application API framework?

Q. Which is more widely used than GWT in Google?