Introduction to JavaScript
Introduction to JavaScript
Pat Morin COMP2405
Outline
? What is JavaScript?
? History ? Uses
? Adding JavaScript to HTML ? JavaScript syntax ? JavaScript events ? JavaScript classes ? The HTML Document Object Model
2
What is JavaScript?
? JavaScript is a programming language for use in HTML pages
? Invented in 1995 at Netscape Corporation (LiveScript)
? JavaScript has nothing to do with Java ? JavaScript programs are run by an interpreter built
into the user's web browser (not on the server)
3
Where does JavaScript Fit In?
? Recall
1. client opens connection to server 2. client sends request to server 3. server sends response to client 4. client and server close connection
? What about Step 5?
5. Client renders (displays) the response received from server
? Step 5 involves displaying HTML ? And running any JavaScript code within the HTML
4
What can JavaScript Do?
? JavaScript can dynamically modify an HTML page ? JavaScript can react to user input ? JavaScript can validate user input ? JavaScript can be used to create cookies (yum!) ? JavaScript is a full-featured programming language ? JavaScript user interaction does not require any
communication with the server
5
................
................
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
- javascript reference guide marklogic
- essential javascript a javascript tutorial university of illinois
- hello world v2 lee holmes
- page 1 of 1 client side web programming javascript part
- javascript basics github pages
- chapter 4 client side programming the javascript language
- chapter 1 html say hello to javascript
- javascript basics html dom
- hello world
- scratch lesson 1 welcome to scratch harvard university
Related searches
- introduction to financial management pdf
- introduction to finance
- introduction to philosophy textbook
- introduction to philosophy pdf download
- introduction to philosophy ebook
- introduction to marketing student notes
- introduction to marketing notes
- introduction to information systems pdf
- introduction to business finance pdf
- introduction to finance 15th edition
- introduction to finance books
- introduction to finance online course