











































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Objects, Properties, Methods, Client Side Scripts, Advantages of Client Side Scripting, Disadvantages, JavaScript, Client Side JavaScript, Case Sensitivity, JavaScript is Object Based and some other key points are also part of this lecture.
Typology: Slides
1 / 51
This page cannot be seen from the preview
Don't miss anything!












































During the last lecture we continued our
discussion on Interactive Forms
Last time we looked at two distinct ways of performing the “form” field checking function.
From now onwards, we will be employing the 2nd^ way more often than not
In that 2 nd^ way, we referred to a function in the HTML BODY, and but defined that function in the HTML HEAD
Send an eMail }
Send an eMail From: To: Subject: Message:
New Concept: Client-Side Scripts
Disadvantages
JavaScript
Some of the things that JavaScript can do!
Client-Side JavaScript
Although a version of JavaScript exists that can be used to write server-side scripts, our focus in this course will only be on client-side scripting
JavaScript
JavaScript is Object-Based
Object: A named collection of properties (data, state) & methods (instructions, behavior)
19
prop 1 prop 2
prop 5
name prop 3
prop 4
A collection of properties & methods
All objects have the “name” property: it holds the name of the object (collection)
method 1^ method 3
method 2
Example: A Bicycle
20
color
height
direction
name pressure
inflate() speed turn()
accelerate()
park()