Which JavaScript statement changes the text ‘In Progress’ to ‘Completed’?
Refer to HTML below:
<p> The current status of an Order: <span id =”status”> In Progress </span> </p>.
Which JavaScript statement changes the text ‘In Progress’ to ‘Completed’?
A . document.getElementById(“status”).Value = ’Completed’ ;
B . document.getElementById(“#status”).innerHTML = ’Completed’ ;
C . document.getElementById(“status”).innerHTML = ’Completed’ ;
D . document.getElementById(“.status”).innerHTML = ’Completed’ ;
Answer: C
Latest JavaScript Developer I Dumps Valid Version with 144 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments