World Library  


Add to Book Shelf
Flag as Inappropriate
Email this Book

Intro to Javascript for Non-Programmers

Click here to view

Book Id: WPLBN0000696336
Format Type: PDF eBook
File Size: 818.18 KB.
Reproduction Date: 2005
Full Text

Title: Intro to Javascript for Non-Programmers  
Author:
Volume:
Language: English
Subject: Language, Philology, Linguistics
Collection: Technical eBooks Collection
Subcollection:
Historic
Publication Date:
Publisher:

Description
Technical Reference Publication

Excerpt
Excerpt: JavaScript versus JAVA: JAVA is a strongly typed, compiled programming language developed by Sun Microsystems. JavaScript, developed originally by Netscape, is a lightweight, interpreted programming language initially called LiveScript. The two languages are not related in any way. All programming languages share a certain amount of similarity.

Table of Contents
Table of Contents HoTMetaL PRO 6.0 the ultimate web development tool www.hotmetalpro.com i Chapter 1 - Introduction to JavaScript programming...................................... 1 JavaScript versus JAVA............................................................................................................... 2 Interpreted programs vs. Compiled programs.............................................................................. 2 Why Learn JavaScript .................................................................................................................. 3 What you can use JavaScript for ................................................................................................. 3 About JavaScript .......................................................................................................................... 3 Review Questions ........................................................................................................................ 4 Summary ..................................................................................................................................... 5 Chapter 2 - JavaScript Syntax...................................................................................... 6 Inserting Client Side JavaScript into an HTML Page ................................................................... 7 Syntax and Conventions .............................................................................................................. 8 Case-sensitivity........................................................................................................................ 8 Semicolons ............................................................................................................................... 8 White Space ............................................................................................................................. 8 Strings and Quotation Marks .................................................................................................... 9 Brackets, Opening and Closing .............................................................................................. 10 Comments .............................................................................................................................. 11 Variable and Function Names ................................................................................................ 12 Reserved Words ..................................................................................................................... 13 Review Questions ...................................................................................................................... 14 Summary ................................................................................................................................... 15 Chapter 3 - Basic Programming Constructs....................................................... 16 Declaring Your Variables............................................................................................................ 17 Types of Variables...................................................................................................................... 17 Using Operators ......................................................................................................................... 18 JavaScript Operators.................................................................................................................. 19 Control Structures (Loops and Branches).................................................................................. 21 Branches................................................................................................................................ 21 The if statement .................................................................................................................. 21 The switch statement .......................................................................................................... 22 Loops ..................................................................................................................................... 23 The while loop ..................................................................................................................... 23 The for loop ......................................................................................................................... 23 Functions ................................................................................................................................... 24 Built-in functions ..................................................................................................................... 24 Programmer created functions ............................................................................................... 24 Review Questions ...................................................................................................................... 26 Summary ................................................................................................................................... 27 Chapter 4 - Objects, Events, and the Document Object Model ............. 28 Object ........................................................................................................................................ 29 The new operator ....................................................................................................................... 29 The Document Object Model (DOM).......................................................................................... 30 Arrays ........................................................................................................................................ 33 Events........................................................................................................................................ 34 onClick ................................................................................................................................... 34 onSubmit................................................................................................................................ 34 onMouseOver ......................................................................................................................... 35 onMouseOut ........................................................................................................................... 35 onFocus ................................................................................................................................. 36 onChange ............................................................................................................................... 36 onBlur..................................................................................................................................... 36 onLoad................................................................................................................................... 37 onUnload ............................................................................................................................... 37 Review Questions ...................................................................................................................... 39

 

Click To View

Additional Books


  • Lectures in the Forum in Industrial Jour... (by )
    Book Rating (1)
  • The Lost Solar System of the Ancients Di... (by )
    Book Rating (3)
  • Biological Lectures Delivered at the Mar... (by )
    Book Rating (61)
  • Œuvres de Fourier : Vol. 1 Volume Vol. 1 (by )
    Book Rating (3)
  • Journal : Chemical Society (Great Britai... Volume Index S 1903-12 (J-Z) (by )
    Book Rating (3)
  • A History of the Society of Writers to H... (by )
    Book Rating (132)
  • Proceedings of the National Convention o... (by )
    Book Rating (3)
  • The Point of View (by )
    Book Rating (15)
  • The Pension Beaurepas (by )
    Book Rating (15)
  • The Patagonia (by )
    Book Rating (30)
  • The Papers (by )
    Book Rating (60)
  • The Papers (by )
    Book Rating (132)
Scroll Left
Scroll Right

 



Copyright © World Library Foundation. All rights reserved. eBooks from World Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.