JavaScript Overview Developer Essentials How to Code Language Constructs The DOM concept- API, (use W3C model) Objects –properties Methods Events Applications;

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Java Script Session1 INTRODUCTION.
JavaScript Objects - DOM CST 200 JavaScript. Objectives Introduce JavaScript objects Introduce Document Object Model Introduce window object Introduce.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
Lecture 3B: Client-Side Scripting IT 202—Internet Applications Based on notes developed by Morgan Benton.
Active X Microsoft’s Answer to Dynamic Content Reference: Using Active X by Brian Farrar QUE
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
CSC 2720 Building Web Applications JavaScript. Introduction  JavaScript is a scripting language most often used for client-side web development.  JavaScript.
ITM352 Javascript and Dynamic Web Pages: Client Side Processing.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
4.1 JavaScript Introduction
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
JavaScript Teppo Räisänen LIIKE/OAMK HTML, CSS, JavaScript HTML defines the structure CSS defines the layout JavaScript is used for scripting It.
Introduction to JavaScript Dr. John P. Abraham University of Texas – Pan American.
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
DOM and JavaScript Aryo Pinandito.
JavaScript is a client-side scripting language. Programs run in the web browser on the client's computer. (PHP, in contrast, is a server-side scripting.
DHTML: Dynamic HTML Internet Technology1. What is DHTML? A collection of enhancements to HTML ► To create dynamic and interactive websites Combination.
Working with Objects Creating a Dynamic Web Page.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
An Introduction to JavaScript Summarized from Chapter 6 of “Web Programming: Building Internet Applications”, 3 rd Edition.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 7.
Introduction to JavaScript CS101 Introduction to Computing.
JavaScript Introduction. Slide 2 Lecture Overview JavaScript background The purpose of JavaScript A first JavaScript example Introduction to getElementById.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
INTRODUCTION JavaScript can make websites more interactive, interesting, and user-friendly.
Javascript Overview. What is Javascript? May be one of the most popular programming languages ever Runs in the browser, not on the server All modern browsers.
JavaScript Dynamic Active Web Pages Client Side Scripting.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
Javascript Basic Concepts Presentation By: Er. Sunny Chanday Lecturer CSE/IT RBIENT.
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
Chapter 13: DHTML: Object Model and Collections CIS 275—Web Application Development for Business I.
Introduction to.
DHTML.
Module 1 Introduction to JavaScript
JavaScripts.
Web Technologies Computing Science Thompson Rivers University
Javascript and Dynamic Web Pages: Client Side Processing
Unit M Programming Web Pages with
JavaScript is a programming language designed for Web pages.
Lecture 11. Web Standards Continued
Unit M Programming Web Pages with
Section 17.1 Section 17.2 Add an audio file using HTML
Web Development & Design Foundations with HTML5 7th Edition
JavaScript Introduction
The Web Wizard’s Guide To JavaScript
DHTML Javascript Internet Technology.
DHTML Javascript Internet Technology.
Introduction to Programming the WWW I
Introduction to JavaScript
Web Design and Development
JavaScript CS 4640 Programming Languages for Web Applications
Tutorial 10: Programming with javascript
[Robert W. Sebesta, “Programming the World Wide Web
Web Technologies Computing Science Thompson Rivers University
Web Client Side Technologies Raneem Qaddoura
Introduction to JavaScript
Information Retrieval and Web Design
Presentation transcript:

JavaScript Overview Developer Essentials How to Code Language Constructs The DOM concept- API, (use W3C model) Objects –properties Methods Events Applications; –Rollovers –Smart Forms –Cookies

Overview A programming Language that adds interactivity to Web Pages –a scripting language A JS script is a program that is included in an HTML page A JS script is interpreted by Web browsers Related Scripting Languages –VbBasic, ActionScript:Flash, Adobe :JScript, Mac &.NET

Background Used to be “Live Script” –Plus more! What can JavaScript do Create an active user interface Validate user input on Forms Create HTML pages on the fly Control Web Browsers

Can’t do Talk to databases Write to files Keep a counter or Track of State!

Applications We use JavaScript for: Tailoring the experience –Different content based on criteria Extending the experience –Dynamic pages –User interface elements eg; pop-up menus Validating input –Pre processing forms

JScript Language Characteristics –where to place code –statements Programming Concepts –Sequence –Selection –Iteration Server side vs Client side

JS- Statements Invoke Object Methods Initialise or Define Variables Manipulate Variables Invoke a Function Make Programming Decisions

JS- Statements cont. When the HTML Document Loads Immediately after the Doc Loads Respond to USER Action –Event Handler When invoked by other Script Statements

JS- example My First JavaScript Script.highlight {font-weight: bold} Let the Scripting begin <!-- hide script form old browsers document.write(“This browser version” + navigator.appVersion); document.write(“of ” + navigator.appName + “.”); //end the script hiding -- >