1
Prepared by Theresa Jose, Asst. Professor Dept. of CSE, ICET
ILAHIA COLLEGE OF ENGINEERING AND TECHNOLOGY
WE TECHNOLOGIES
Module IV
Introduction to JavaScript and jQuery :The Basics of JavaScript: Overview of JavaScript, Object Orientation and
JavaScript, General Syntactic Characteristics- Primitives, Operations, and Expressions, Screen Output and Keyboard
Input, Control Statements, Object Creation and Modification, Arrays, Functions. Callback Functions, Java Script HTML
DOM.
Introduction to jQuery: Overview and Basics.
JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet
Explorer, Mozilla, Firefox, Netscape, Opera.
4.1 Overview of JavaScript
ORIGIN
Originally developed at Netscape by Brendan Eich, as LiveScript
Initially named Mocha, later renamed as LiveScript
Became a joint venture of Netscape and Sun in 1995, renamed JavaScript
Now standardized by the European Computer Manufacturers Association as ECMA-262 (also ISO 16262)
Javascript is divided into three parts
1) Core Javascript - Heart of the language , including its operators, expressions, statements and subprogram.
2) Client-side JavaScript - Collections of JavaScript code scripts , not programs, support the control of browsers
and interaction with the user
3) Server side Javascript - Collection of objects that make the language useful on a web server.
2 Java and JavaScript
• Java and JavaScript are two completely different languages in both concept and design!
• Java (developed by Sun Microsystems) is a powerful and much more complex programming language -
in the same category as C and C++.
• Object model of Javascript is quite different from java & C++.
• Java is strongly typed and Javascript is Dynamically typed.
• In Java ,types are all known at compile time, where as in Javascript variables need not be declared and
compile time type checking impossible.
• Objects in Java are static where as Javascript objects are dynamic.