Forum discussion on JavaScript DOM and Events

Answer the question and discuss

Re: Answer the question and discuss

by Md.Iftakher Alam -
Number of replies: 0
Javascript has DOM(Document Object Model) which can easily get any element from HTML as an element and not only can change its content but also can create new element using different types of query Selector like:
1. getElementById();
2.getElementsByCLassName()
3.getElementsByTagname()
4.queryselector()
5.queryselectorAll()