How to change the HTML element in javascript syntax in
<p id="demo">change text</p>?

 Posted by Manideepgoud on 8/1/2016 | Category: JavaScript Interview questions | Views: 893 | Points: 40
Select from following answers:
  1. document.GetElementById("demo").innerHTML = "DotNetFunda!";
  2. #Demo.innerHTML = "DotNetFunda!";
  3. document.getElementById("demo").innerHTML = "DotNetFunda!";
  4. #demo.innerHTML = "DotNetFunda!";
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response