adplus-dvertising
frame-decoration

Question

For displaying data in JavaScript, we can’t use ____________

a.

document.write()

b.

console.log()

c.

innerHTML

d.

document.getElementById()

Posted under HTML

Answer: (d).document.getElementById()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. For displaying data in JavaScript, we can’t use ____________