What is getelementbyid?



What is getelementbyid?..

Answer / Tanuj Rastogi

getElementById() is a function in JavaScript used to return the first element within the document that has the specified id attribute. It provides direct access to an individual HTML element.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

How to create a hello world page in xhtml?

1 Answers  


What is simple html?

1 Answers  


What is the difference between local storage and cookies?

1 Answers  


What is anchor tag and how can you open an url into a new tab when clicked?

1 Answers  


How to create sub sub navigation with html5 css3.

1 Answers  


What is the main purpose of html?

1 Answers  


What is a Web Worker?

1 Answers  


Why is there extra space before or after my table?

1 Answers  


how to prevent the display of getting framed in html?

1 Answers  


What is outerhtml?

1 Answers  


What is head tag?

1 Answers  


In DHTML what is the difference between FontSize and Font Size ?

4 Answers   Infosys, Magna Infotech, Microsoft, Polaris,


Categories