Web Programming Step by Ste
Web Programming Step by Step
Chapter 7 JavaScript for Interactive Web Pages
Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller.
7.1: Key JavaScript Concepts
7.1: Key JavaScript Concepts 7.2: JavaScript Syntax 7.3: Program Logic 7.4: Advanced JavaScript Syntax
What is JavaScript? (7.1)
a lightweight programming language (scripting) used to make web pages interactive
insert dynamic text into HTML (ex: user name) react to events (ex: page load user click) get information about a user's computer (ex: browser type) perform calculations on user's computer (ex: form validation) a web standard (but not supported identically by all browsers) NOT related to Java other than by name and some syntactic similarities
JavaScript vs. Java
interpreted, not compiled
more relaxed syntax and rules
fewer and "looser" data types
variables don't need to be declared
errors often silent (few exceptions)
key construct is the function rather than the class
+
=
(more procedural less object-oriented)
JavaScript
contained within a web page and integrates with its HTML/CSS content
JavaScript vs. PHP
similarities:
both are interpreted, not compiled
both are relaxed about syntax, rules, and types
both are case-sensitive both have built-in regular expressions (powerful text
JS ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- uncaught referenceerror is not defined js file
- chapter 6 javascript containers
- window and document in javascript
- cse 361 web security
- uncaught referenceerror require is not defined electron js
- practical system skills brown university
- server side javascript platform
- referenceerror request is not defined node js
- javascript part i
- comp519 web programming
Related searches
- photosynthesis process step by step easy
- step by step essay example
- step by step writing template
- step by step business plan template
- step by step cellular respiration
- step by step starting business
- photosynthesis step by step biology
- step by step protein synthesis
- step by step business plan
- step by step watercolor lessons
- step by step research paper guide
- step by step mortgage guide