World Library
 
 
 
 
 
 
 
 

Intro to Javascript for Non-Programmers

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 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:

This book will be permanently flagged as inappropriate and made unaccessible to everyone. Are you certain this book is inappropriate?

   

Click To View

Other Books I Looked at: Click to view all Books in my History


  • Intro to Javascript for Non-Programmers 
    (28)

Click To View

People also read these books: Click to view all Additional Books


  • Lectures in the Forum in Industrial Jour... (by Forum In Industrial Journalism)
    (1)
  • The Lost Solar System of the Ancients Di... (by Wilson, John)
    (3)
  • Biological Lectures Delivered at the Mar... (by Marine Biological Laboratory (Woods Hole, Mass.))
    (1)
  • Œuvres de Fourier : Vol. 1 Volume Vol. 1 (by Fourier, Jean Baptiste Joseph, Baron)
    (3)
  • Journal : Chemical Society (Great Britai... Volume Index S 1903-12 (J-Z) (by Chemical Society (Great Britain))
    (3)
  • A History of the Society of Writers to H... (by Society of Writers To H. M. Signet, Great Britain)
    (132)
  • Proceedings of the National Convention o... (by National Convention of Insurance Commissioners (U....)
    (3)
  • The Point of View (by James, Henry)
    (132)
  • The Pension Beaurepas (by James, Henry)
    (175)
  • The Patagonia (by James, Henry)
    (200)
  • The Papers (by James, Henry)
    (155)
  • The Papers (by James, Henry)
    (132)

Click To View

Other Books with Same Subject: Click to view all books in Language, Philology, Linguistics


  • Black Beetles in Amber (by Bierce, Ambrose)
    (132)
  • The Book of Illustrious Mechanics of Eur... (by Édouard Foucaud)
    (132)
  • Building Superintendence : A Working Gui... (by Edward Nichols)
    (200)
  • Burlesques : Novels by Eminent Hands; Je... (by Thackeray, William Makepeace)
    (175)
  • Bombastes Furioso : A Burlesque Tragic O... (by Rhodes, William Barnes)
    (175)
  • Boyhood of Famous Authors (by Rideing, W. H)
    (175)
  • Burn's Justice of the Peace and Parish O... (by Chitty, Thomas, Richard Burn)
    (118)
  • Bushby's Manual of the Practice of Elect... (by Henry Hardcastle)
    (132)
  • Blackstone Economized : Being a Compendi... (by Sir William Blackstone)
    (200)
  • The British Constitution; Or, An Epitome... (by Sir William Blackstone)
    (132)

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