What is JavaScript?
JavaScript is the client side
scripting language like VBScript but JavaScript uses C-like syntax. It have all
the important feature that any other programming language can have for example
it can take input from one source, process it and send the out data to other
source. Because it is integrated into the HTML, JavaScript already know nearly
all things that web browser know for example frames, objects in the webpage,
links and web browser history.
European Computing Manufacturers Association (ECMA) standardized Java Script by
defining new scripting language called ECMAScript. ECMAScript was designed as
general script regardless of host environment therefore it is not the only part
of JavaScript but two other pars called The Document Object Model (DOM) and The
Browser Object Model (BOM) are also the parts of JavaScript in addition to core
ECMAScript.
The DOM is the form of representation of structural documents like HTML and XML
as an object oriented model. DOM is the W3C standard for representing structural
documents in a platform and language neutral manner. DOM allows client side
script to dynamically update the object, content and structure of web page.
TThe BOM gives the power to web developer to access and manipulate the browser
window. BOM allows many operations including opening popup windows, move, resize
and close browser windows, screen object to get screen resolution and the
support of cookie.