What is the difference between raw DOM element and JavaScript / jQuery object? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What is the difference between raw DOM element and JavaScript / jQuery object?

please provide with an example, if you can. thanks in advance.

8th Mar 2017, 9:23 AM
Abiram Sunderraj
Abiram Sunderraj - avatar
1 Resposta
+ 1
The DOM is the interface for the html document. It provides the representation of the document and how the elements are organized and interacted with. JavaScript and jQuery provide the means by which we can interact with the DOM. Without JS, the DOM exists but cannot be manipulated after creation.
8th Mar 2017, 5:52 PM
Jason