CSE :: Javascript - CS
- What is the property to access the first child of a node?
- What are the properties supporting CSS styles for a document element?
- The style property belongs to while of the following object?
- What is the purpose of the event handlers in the JavaScript?
- Which handler is triggered when the content of the document in the window is stable and ready for manipulation?
- When a program contains extensive use of event handlers, which of the following is necessary?
- What is the code snippet to find all container elements with class “reveal”?
- What is the code snippet to update the content of the timestamp element when the user clicks on it?
- What is the code snippet to change the class and let the stylesheet specify the details?
A.
timestamp.onLoad = function() { this.innerHTML = new Date().toString(); } |
B.
timestamp.onclick = function() { this.innerHTML = new Date().toString(); } |
C.
timestamp.onload = function() { this.innerHTML = new Date().toString(); } |
D.
timestamp.onclick = function() { innerHTML = new Date().toString(); } |