What is the difference between innerHTML and innerText?


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

Post New Answer

More JavaScript Interview Questions

What is the use of blur function?

0 Answers  


What are the benefits of learning javascript?

0 Answers  


What is the scope variable in javascript?

0 Answers  


Where do you put javascript in html?

0 Answers  


What does trim stand for?

0 Answers  


How to add a new property in existing function javascript?

0 Answers  


What output will the program produce: System.out.println(x+"+"+y+"="+(x+y));

1 Answers  


Mention what is the disadvantage of using innerhtml in javascript?

0 Answers  


What do ellipses mean in javascript?

0 Answers  


What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }

0 Answers  


What is the difference between == and ===? Which one would you use?

0 Answers  


What is an undefined value in JavaScript?

0 Answers  


Categories