Difference between revisions of "JavaScript"

From Suhrid.net Wiki
Jump to navigationJump to search
Line 4: Line 4:
 
* Is designed for easy embedding in other products and applications, such as web browsers.
 
* Is designed for easy embedding in other products and applications, such as web browsers.
 
* '''Core''' JS consists of a set of objects e.g. Array, Date and Math and language elements such as operators and control structures.
 
* '''Core''' JS consists of a set of objects e.g. Array, Date and Math and language elements such as operators and control structures.
 +
* '''Client-side''' JavaScript extends the core language by supplying objects to control a browser and its Document Object Model (DOM). e.g, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation.

Revision as of 03:15, 6 December 2012

Intro

  • JS is a cross-platform object oriented scripting language.
  • Is designed for easy embedding in other products and applications, such as web browsers.
  • Core JS consists of a set of objects e.g. Array, Date and Math and language elements such as operators and control structures.
  • Client-side JavaScript extends the core language by supplying objects to control a browser and its Document Object Model (DOM). e.g, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation.