Web Technology
(NCS-504)
Prepared By:
Rohit Rana
Asst. Professor, CSE
, QIP-3
UNIT-III
Lecture Number Topic Description
Lecture-1 JavaScript: Introduction, Variables
Lecture-2 Documents: Operators
Lecture-3 Statements: Conditional and Loop
Lecture-4 Functions, Popup Boxes
Lecture-5 Event and Event Handling, Try-Catch, Special Characters
Lecture-6 Objects, Browser Detection, Cookies
Lecture-7 Forms: Form Validation and E-mail Validation
Lecture-8 Introduction to AJAX: AJAX Working
Lecture-9 VBScript
Lecture-10 CGI: CGI Working
! Vidya College of Engineering, Meerut
, Lecture No. 1
Introduction
• JavaScript was designed to add interactivity to HTML pages
• JavaScript is a scripting language
• A scripting language is a lightweight programming language
• JavaScript is usually embedded directly into HTML pages
• JavaScript is an interpreted language (means that scripts execute without
preliminary compilation)
• JavaScript is case sensitive - therefore watch your capitalization closely when
you write JavaScript statements, create or call variables, objects and functions.
! Vidya College of Engineering, Meerut
, Lecture No. 1
What can JavaScript do?
• JavaScript gives HTML designers a programming tool - HTML authors
are normally not programmers, but JavaScript is a scripting language with a
very simple syntax! Almost anyone can put small "snippets" of code into their
HTML pages
• JavaScript can react to events - A JavaScript can be set to execute when
something happens, like when a page has finished loading or when a user clicks
on an HTML element
• JavaScript can read and write HTML elements - A JavaScript can read and
change the content of an HTML element
! Vidya College of Engineering, Meerut
(NCS-504)
Prepared By:
Rohit Rana
Asst. Professor, CSE
, QIP-3
UNIT-III
Lecture Number Topic Description
Lecture-1 JavaScript: Introduction, Variables
Lecture-2 Documents: Operators
Lecture-3 Statements: Conditional and Loop
Lecture-4 Functions, Popup Boxes
Lecture-5 Event and Event Handling, Try-Catch, Special Characters
Lecture-6 Objects, Browser Detection, Cookies
Lecture-7 Forms: Form Validation and E-mail Validation
Lecture-8 Introduction to AJAX: AJAX Working
Lecture-9 VBScript
Lecture-10 CGI: CGI Working
! Vidya College of Engineering, Meerut
, Lecture No. 1
Introduction
• JavaScript was designed to add interactivity to HTML pages
• JavaScript is a scripting language
• A scripting language is a lightweight programming language
• JavaScript is usually embedded directly into HTML pages
• JavaScript is an interpreted language (means that scripts execute without
preliminary compilation)
• JavaScript is case sensitive - therefore watch your capitalization closely when
you write JavaScript statements, create or call variables, objects and functions.
! Vidya College of Engineering, Meerut
, Lecture No. 1
What can JavaScript do?
• JavaScript gives HTML designers a programming tool - HTML authors
are normally not programmers, but JavaScript is a scripting language with a
very simple syntax! Almost anyone can put small "snippets" of code into their
HTML pages
• JavaScript can react to events - A JavaScript can be set to execute when
something happens, like when a page has finished loading or when a user clicks
on an HTML element
• JavaScript can read and write HTML elements - A JavaScript can read and
change the content of an HTML element
! Vidya College of Engineering, Meerut