What is the difference between textContent and innerText?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JavaScript Interview Questions

About document.getElementID? Explain giving one example. This was asked by a interviewer when i said that i know some JavaScript.

2 Answers   TCS,


Mention what is the disadvantage of using innerhtml in javascript?

0 Answers  


Can you give an example showing javascript hoisting?

0 Answers  


How to change the background color of HTML document using JavaScript?

0 Answers  


How do functions work in javascript?

0 Answers  






Why typeof null is object?

0 Answers  


Expand BOM and explain it?

0 Answers  


How do you write an event emitter base class that allows you to add event listeners?

0 Answers  


What is use strict in javascript?

0 Answers  


Can you use javascript to hack?

0 Answers  


What are Cookies in Javascript?

0 Answers  


How to create array in JavaScript?

0 Answers  


Categories