Javascript Short Introduction By Thanawat Varintree, 49540438.

Slides:



Advertisements
Similar presentations
Chapter 7 JavaScript: Introduction to Scripting. Outline Simple Programs Objects and Variables Obtaining User Input with prompt Dialogs – –Dynamic Welcome.
Advertisements

Introduction to JavaScript
JavaScript Objects - DOM CST 200 JavaScript. Objectives Introduce JavaScript objects Introduce Document Object Model Introduce window object Introduce.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 7 - JavaScript: Introduction to Scripting Outline 7.1 Introduction 7.2 Simple Program: Printing.
The Web Warrior Guide to Web Design Technologies
Computer Science 103 Chapter 3 Introduction to JavaScript.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
JavaScript- Introduction. What it is and what it does? What it is? It is NOT Java It is NOT Server-side programming Users can see code It is a client-side.
Javascript Document Object Model. How to use JavaScript  JavaScript can be embedded into your html pages in a couple of ways  in elements in both and.
Tutorial 10 Programming with JavaScript
AJAX (Asynchronous JavaScript and XML) Amit Jain CS 590 – Winter 2008.
2012 •••••••••••••••••••••••••••••••••• Summer WorkShop Mostafa Badr
What Is A Web Page? An Introduction to the Internet.
Introduction to JavaScript. Aim To enable you to write you first JavaScript.
Introduction to scripting
JAVASCRIPT HOW TO PROGRAM -2 DR. JOHN P. ABRAHAM UTPA.
Mr C Johnston ICT Teacher BTEC IT Unit 06 - Lesson 02 Types of Programming Language.
Advanced Web Design Scripting Tutorial Chapters. Scripting Intro The scripting part of the forthcoming Advanced Web Design textbook introduces you to.
DHTML: Dynamic HTML Internet Technology1. What is DHTML? A collection of enhancements to HTML ► To create dynamic and interactive websites Combination.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
What is Java Script? An extension to HTML. An extension to HTML. Allows authors to incorporate some functionality in their web pages. (without using CGI.
Javascript. Outline Introduction Fundamental of JavaScript Javascript events management DOM and Dynamic HTML (DHTML)
Tutorial 10 Programming with JavaScript. XP Objectives Learn the history of JavaScript Create a script element Understand basic JavaScript syntax Write.
Topic: An Introduction to JavaScript - from Beginning JavaScript by Wilton (WROX)
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
JavaScript - A Web Script Language Fred Durao
1 JavaScript
An Introduction to JavaScript By: John Coliton Tuesday, November 10, 1998 Center for Teaching and Learning.
JavaScript Scripting language What is Scripting ? A scripting language, script language, or extension language is a programming language.
Internet & World Wide Web How to Program, 5/e © by Pearson Education, Inc. All Rights Reserved.
JavaScript Introduction.  JavaScript is a scripting language  A scripting language is a lightweight programming language  A JavaScript can be inserted.
COMP403 Web Design JAVA SCRİPTS Tolgay KARANFİLLER.
CIS 375—Web App Dev II JavaScript I. 2 Introduction to DTD JavaScript is a scripting language developed by ________. A scripting language is a lightweight.
Javascript JavaScript is what is called a client-side scripting language:  a programming language that runs inside an Internet browser (a browser is also.
CIS 3.5 Lecture 2.3 "Introduction to JavaScript".
Chapter 7 - JavaScript: Introduction to Scripting Outline 7.1 Introduction 7.2 Simple Program: Printing a Line of Text in a Web Page 7.3 Another JavaScript.
Functions.  Assignment #2 is now due on Wednesday, Nov 25 th  (No Quiz)  Go over the midterm  Backtrack and re-cover the question about tracing the.
INTRODUCTION JavaScript can make websites more interactive, interesting, and user-friendly.
Introduction to JavaScript CSc 2320 Fall 2014 Disclaimer: All words, pictures are adopted from “Simple JavaScript”by Kevin Yank and Cameron Adams and also.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
Chapter 5: Intro to Scripting CIS 275—Web Application Development for Business I.
Introduction to JavaScript LIS390W1A Web Technologies and Techniques 24 Oct M. Cameron Jones.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Popup Boxes.
JavaScript JavaScript is a programming language that web browsers understand. You can use it to make your web pages interactive by: Responding to user.
JavaScript and AJAX 2nd Edition Tutorial 1 Programming with JavaScript.
JavaScript: A short introduction Joseph Lee Created by Joseph Lee.
 2001 Prentice Hall, Inc. All rights reserved. Outline 1 JavaScript.
JavaScript Part 1 Introduction to scripting The ‘alert’ function.
Introduction to.
Java Script Introduction. Java Script Introduction.
Applied Component I Unit II Introduction of java-script
Introduction to Dynamic Web Programming
CIS 388 Internet Programming
Section 17.1 Section 17.2 Add an audio file using HTML
* Lecture # 7 Instructor: Rida Noor Department of Computer Science
4. Javascript Pemrograman Web I Program Studi Teknik Informatika
DHTML.
DHTML Javascript Internet Technology.
HTML HYPERTEXT MARKUP LANGUAGE.
DHTML Javascript Internet Technology.
JAVASCRIPT Pam Kahl | COM 585 | Spring 2010.
CS105 Introduction to Computer Concepts
Tutorial 10 Programming with JavaScript
JavaScript Overview By Kevin Harville.
Introduction to Programming and JavaScript
Web Programming– UFCFB Lecture 13
CS105 Introduction to Computer Concepts JavaScript
Introduction to scripting
Presentation transcript:

Javascript Short Introduction By Thanawat Varintree, 49540438

About Javascript Javascript first designed in 1995. Developed by Brendan Eich of Netscape. Design to let programmers control the behavior of software object. Most of web programmer known this well.

Contribution in Programming Language Javascript definition includes extensive facilities for controlling and manipulating parts of web pages such as HTML. For Example (Basic alert box) : <html> <head><title> TITLE </title> <script> alert('HELLO WORLD'); </script> </head> <body></body> </html>

About Javascript(More) More Example that use Javascript - Web stats - Back , Forward , Confirm button (script button) - Header alert - Right click prohibited - web Graphic - etc

About Javascript(More) Javascript is used most widely in Web browsers whose software objects tend to represent a variety of HTML elements in a document and the document itself. Easy for new programmer to learn and use

Example <script> // start javascript // javascript run script --- > top to bottom var a = 1; // global variable a b = 30; // global variable b (same as var b) // var is javascript variable that can store any value // in it (Number , String , Array , Object , etc) var c = a + b; // c = a + b alert('c value is ' + c); // alert c on screen; c++; // c = c + 1 alert(c); // alert c on screen; c = 10; document.write('Hello World!'); // write Hello World

Example //to write a function function proc1 (d){ // procedure method d = a; // local variable d alert ('d * c = ' + d * c) // alert ('a * c') on screen // no return; } proc1(); function proc2(d){ // function method d = 70; return d; // return value alert ('proc2 value = ' + proc2()); //alert return value of proc1()

Example // input output var tex = prompt("plz input some text",""); document.write(tex); </script>