Join us Now |  Forgot Password? | Forgot UserName?


Learn step by step

DOM Introduction

It is one of the most important aspects of JavaScript and thereby jQuery, is a manipulation of the DOM. DOM stands for Document Object Model and it's a mechanism for representing and interacting with HTML, XHTML or XML documents. It allows us to navigate and manipulate our documents through a programming language, which in browser will almost always be JavaScript. Document Object Model navigation and manipulation using standard JavaScript can be pretty difficult, but luckily for us, jQuery comes with a bunch of DOM related methods/functions, making it much easier.

JQuery provides functions to manipulate DOM in an efficient way. We don't need to write big code to modify the value of any element's attribute or to extract HTML code from a paragraph or a division.

JQuery provides methods such as .attr(), .html(), and .val() which act as getters, retrieving information from the DOM elements for later use.

Related Videos