+ 8

I'm confused by DOM.

4th Oct 2015, 6:24 PM
CDub
CDub - avatar
8 Antworten
+ 12
DOM is basically the structure of the webpage. The Document Object Model is an API, which you can think of as a structure that consists of all that is the webpage and how they're structured. It is best represented by a flowchart.
2nd Apr 2016, 12:46 PM
Somdeep Datta
Somdeep Datta - avatar
+ 10
It stands for document object model. It basically describes the complete hierarchy of the document object and all its properties.
18th Jan 2016, 12:01 AM
Callum MacKendrick
Callum MacKendrick - avatar
+ 8
You can make an image of DOM as a tree: root, then branches at the same level, then branches that are children of previous branches etc. After that you can reference to some elements of the page in the next way: root>body>child(or siblibg)... using some of DOM APIs. I hope this will help you at least a little.
13th Jun 2016, 3:29 PM
Мирослав Здравковић
Мирослав Здравковић - avatar
+ 3
The Document Object Model (DOM) is a programming interface for HTML and XML documents. It provides a structured representation of the document and it defines a way that the structure can be accessed from programs so that they can change the document structure, style and content. The DOM provides a representation of the document as a structured group of nodes and objects that have properties and methods. Essentially, it connects web pages to scripts or programming languages.
23rd Nov 2016, 2:45 AM
Manikandan
Manikandan - avatar
+ 2
you can take some vídeos on YouTube, and pratice with some exercises
2nd Jul 2016, 8:01 PM
Isac Silva
Isac Silva - avatar
+ 2
same problem here
19th Jul 2016, 12:46 PM
Jeevan Pokhrel
Jeevan Pokhrel - avatar
+ 2
DOM is a logical structure of Web page . when Web page loads on browser on that moment browser creates the document object model of the Web page .. It means javascript get all the power of creation , updating and deletion actions on HTML content , tags etc . DOM is refer by document in javascript code . For example . var id= document.getElimentById ("your_id"); In this statement we will get the Id from the page and store it into Id variable..
31st Jul 2016, 8:49 AM
Mohd Sohail Khan
Mohd Sohail Khan - avatar
0
You can use jQuery library . It's more easily that javascript DOM manipulation.
18th Mar 2017, 6:47 PM
Anton Fyduma
Anton Fyduma - avatar