Webmaster's Community

Designing and Development => Programming => Topic started by: Tayab on October 04, 2012, 02:21:24 PM

Title: What are DOM and Ajax?
Post by: Tayab on October 04, 2012, 02:21:24 PM
Yesterday I bought a book of JavaScript and on the title page was written,


Beginning
JavaScript with DOM
Scripting and Ajax

From Novice to Professional


And there, what Does DOM and Ajax mean and what are they?
Title: Re: What are DOM and Ajax?
Post by: Savera on October 05, 2012, 04:53:18 AM
You will get to know about it shortly however in short and simple words..

DOM is something like giving each element a name and relation so that we can refer to individual element easily. DOM stands for Document Object Model .. means every element is treated object and part of object and you can easily refer to individual through this model so that in Javascript you can manipulate them as per your need.

On the other hand , Ajax is nothing but Javascript with some small library allows you to make http request without reloading of page.