- Study guides, Revision notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 1 study documents about .
1 results
Exam (elaborations)
Exam (elaborations) CS 10787
1. Which of the following lines of JavaScript code will change the HTML inside of an element 
with the attribute id="myElement" to "CS 105"? 
A. ElementById(“myElement”).innerHTML = “CS 105”; 
B. html[“myElement”] = “CS 105”; 
C. html[“myElement”].innerHTML = “CS 105”; 
D. [“myElement”].innerHTML = “CS 105”; 
E. Element(“CS 105”); 
Explanation 
As part of doing MP3, you learned that the JavaScript code: 
 ElementById( ___<1>____ ).innerHTML = ____<...