Page 70 - DCAP202_Fundamentals of Web Programming
P. 70
Manmohan Sharma, Lovely Professional University Unit 6: Introduction to JavaScript
Unit 6: Introduction to JavaScript Notes
CONTENTS
Objectives
Introduction
6.1 Origin of JavaScript
6.2 JavaScript and Web
6.3 JavaScript
6.3.1 Java and JavaScript
6.3.2 What can JavaScript do?
6.4 Script (<script>)Tag
6.5 Browsers Compatibility
6.6 Data Types
6.6.1 Primitive Data Types
6.6.2 Composite Data Types
6.7 Creating Values
6.7.1 Value for Text Input Element
6.7.2 Value for Text Area Element
6.7.3 Value for Hidden Element
6.8 Type Casting
6.9 Arrays
6.9.1 Creating Arrays
6.9.2 Access an Array
6.9.3 Modify Values in an Array
6.10 Summary
6.11 Keywords
6.12 Review Questions
6.13 Further Readings
Objectives
After studying this unit, you will be able to:
Explain the Overview of JavaScript
Describe how to tag JavaScript with HTML
Discuss about the Browsers compatibility with JavaScript
Describe the Data types in JavaScript
Analyse the typecasting in JavaScript
Explain the Arrays in JavaScript
LOVELY PROFESSIONAL UNIVERSITY 63