Preview

Introduction To JavaScript

Good Essays
Open Document
Open Document
3905 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Introduction To JavaScript
Introduction to
JavaScript

introduction
What Web scripting is?
 How scripting and programming are different (and similar)
 What JavaScript is?






JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer,
Firefox, Chrome, Opera, and Safari.
What is scripting language?
◦ A high-level programming language that is interpreted by another program at runtime.
◦ Scripting languages, which can be embedded within HTML, commonly are used to add functionality to a Web page, such as different menu styles or graphic displays or to serve dynamic advertisements.
◦ These types of languages are client or server-side scripting languages, affecting the data that the end user sees in a browser window.

What is JavaScript?
JavaScript was designed to add interactivity to HTML pages
 JavaScript is a scripting language
 JavaScript is usually embedded directly into
HTML pages
 JavaScript is an interpreted language
(means that scripts execute without preliminary compilation)
 Everyone can use JavaScript without purchasing a license


What can a JavaScript do?
JavaScript gives HTML designers a programming tool
 JavaScript can put dynamic text into an
HTML page
 JavaScript can be used to automate and validate data
 JavaScript can be used to detect the visitor's browser
 JavaScript can be used to create cookies 

Add scrolling or changing messages to the browser’s status line.
 Display messages to the user, either as part of a Web page or in alert boxes.
 Animate images or create images that change when you move the mouse over them.  Create ad banners that interact with the user, rather than simply displaying a graphic.  Detect the browser in use and display different content for different browsers.


JavaScript = ECMAScript











JavaScript is an implementation of the ECMAScript language standard.
ECMAScript is developed and maintained by the
ECMA organization.
ECMA-262 is the

You May Also Find These Documents Helpful

  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    Each of these components is programmed in a specific language, for example, Perl, java. PHP, Python, Ruby, or Erlang. Almost every language supports web programming, Different syntax, and same semantics. Consequently, severer side developers have a tendency to solve every problem in her/his desired…

    • 737 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Cross-site scripting is a type of computer security exposure found in web function such as XSS which attacker attach to the client side of a script.…

    • 488 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Intro to Computers

    • 609 Words
    • 3 Pages

    | Allows users to organize data in rows and columns and perform calculations and recalculate when data changes.…

    • 609 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Week 5

    • 585 Words
    • 3 Pages

    What issues can arise with the use of JavaScript® language along with server-side programming, such as .NET? What issues does the programmer need to be aware of when developing in both languages?…

    • 585 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Adobe Flash (also Adobe Flash Platform, formerly Macromedia Flash) is a multimedia and software platform used for authoring of vector graphics, animation, games and Rich Internet Applications (RIAs) which can be viewed, played and executed in Adobe Flash Player. Flash is frequently used to add streamed video or audio players, advertisement and interactive multimedia content to web pages. Flash manipulates vector and raster graphics to provide animation of text, drawings, and still images. It supports bidirectional streaming of audio and video, and it can capture user input via mouse, keyboard, microphone and camera. Flash applications and animations can be programmed using the object-oriented language called ActionScript. Adobe Flash Professional is the most popular and user-friendly authoring tool for creating the Flash content, which also supports automation via the JavaScript Flash language (JSFL). Adobe Flash Player makes the Flash content accessible on various computer systems and…

    • 605 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Object Oriented Programming

    • 41750 Words
    • 167 Pages

    Ans: Class is a template for multiple objects with similar features and it is a blue print for objects. It defines a type of object according to the data the object can hold and the operations the object can perform. Constructor is a special kind of method that determines how an object is initialized when created.…

    • 41750 Words
    • 167 Pages
    Satisfactory Essays
  • Powerful Essays

    Object Oriented Programming

    • 13874 Words
    • 63 Pages

    Object-Oriented Programming with Objective-C Contents Introduction 5 Who Should Read This Document 5 Organization of This Document 6 See Also 6 Why Objective-C? 7 Object-Oriented Programming 8 Data and Operations 8 Interface and Implementation 9 The Object Model 12 The Messaging Metaphor 13 Classes 15 Modularity 16 Reusability 16 Mechanisms of Abstraction 18 Encapsulation 18 Polymorphism 19 Inheritance 20 Class Hierarchies 21 Subclass Definitions 21 Uses of Inheritance 22 Dynamism 23 Dynamic Typing 24…

    • 13874 Words
    • 63 Pages
    Powerful Essays
  • Satisfactory Essays

    JavaScript

    • 504 Words
    • 3 Pages

    3. Write a function that uses substring method of String object to get the 'Scr' part of the string 'JavaScript'. Also use the length property and write the length of the string 'JavaScript' and use the charAt method to get the 'S' from 'JavaScript' and write that.…

    • 504 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    HTML5 and Javascript Projects

    • 10067 Words
    • 41 Pages

    Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol…

    • 10067 Words
    • 41 Pages
    Powerful Essays
  • Powerful Essays

    This section reviews some basic important functions needed for this course under MSDOS (Microsoft Disk Operating System) and learn how to write C++ programs. Creating source codes and compiling them will be the most frequent activity that you will do. You will learn about how to use CodeBlocks to create source codes and compile them and execute the output.…

    • 876 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Introduction to OOP

    • 1088 Words
    • 7 Pages

    Programs could be developed in sensible blocks that make the program more understandable and easier to maintain…

    • 1088 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Introduction to Computing

    • 467 Words
    • 2 Pages

    Write a program that reads three nonzero integers and determines and prints if they could be the sides of a right triangle.…

    • 467 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lecture - 5 Revisiting OOP CS223 CS223- Object Oriented Programming Spring 2012 Dr. Fawad Hussain What we have done so far? What is object-Oriented Programming? What is an object? What is a class? What are attributes?…

    • 935 Words
    • 4 Pages
    Satisfactory Essays
  • Better Essays

    Introduction to Computing

    • 4901 Words
    • 20 Pages

    A computer can be defined as any electronic device that can accept data inform o f input, processes the data and gives out the processed data inform of output.…

    • 4901 Words
    • 20 Pages
    Better Essays

Related Topics