1.

Record Nr.

UNINA9910300655303321

Autore

Olsson Mikael

Titolo

JavaScript Quick Syntax Reference / / by Mikael Olsson

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2015

ISBN

9781430264941

1430264942

Edizione

[1st ed. 2015.]

Descrizione fisica

1 online resource (80 p.)

Collana

Expert's Voice in Web Development

Disciplina

006.76

Soggetti

Computer programming

Software engineering

Web Development

Software Engineering/Programming and Operating Systems

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Contents at a Glance; Contents; About the Author; About the Technical Reviewer; Introduction; Chapter 1: Using JavaScript;  Creating a Project;  Embedding JavaScript;  Displaying Text;  View Source;  Browser Compatibility;  Console Window;  Comments;  Code Hints; Chapter 2: Variables;  Declaring Variables;  Dynamic Typing;  Number Type;  Bool Type;  Undefined Type;  Null Type;  Special Numeric Values; Chapter 3: Operators;  Arithmetic Operators;  Assignment Operators;  Combined Assignment Operators;  Increment and Decrement Operators;  Comparison Operators;  Logical Operators

Bitwise Operators Operator Precedence; Chapter 4: Arrays;  Numeric Arrays;  Associative Arrays;  Multidimensional Arrays;  Array Object; Chapter 5: Strings;  Escape Characters;  Strings and Numbers;  String Object ; Chapter 6: Conditionals;  If Statement;  Switch Statement;  Ternary Operator; Chapter 7: Loops;  While Loop;  Do-While Loop;  For Loop;  For-in Loop;  Break and Continue; Chapter 8: Functions;  Defining Functions;  Calling Functions;  Function Parameters ;  Variable Parameter Lists ;  Return Statement ;  Argument Passing ;  Function Expressions ;  Scope and Lifetime

Chapter 9: Objects Object Properties;  Object Methods;  Object Literals;  Constructor Functions;  Inheritance;  Type Checking;  Object Create;



Chapter 10: Document Object Model;  DOM Nodes;  Selecting Nodes;  Traversing DOM Tree;  Creating Nodes;  Removing Nodes;  Attribute Nodes; Chapter 11: Events;  Event Handling;  Event Object;  Event Propagation;  DOM Events; Chapter 12: Cookies;  Creating Cookies;  Encoding;  Expiration Date;  Path and Domain; Chapter 13: Error Handling;  Try-Catch;  Catch Block;  Finally;  Throwing Exceptions; Chapter 14: Ajax;  Exchanging Data;  Server Response

Ajax EventChapter 15: jQuery;  Including jQuery;  Using jQuery;  Element Selection;  Collection Traversal;  DOM Traversal;  Modifying Attributes;  Creating Elements;  Moving Elements;  Ready Method;  Event Handling;  Ajax; Index

Sommario/riassunto

JavaScript Quick Syntax Reference is a condensed syntax reference to the JavaScript language. It presents the essentials of JavaScript in a well-organized format that can be used as a handy reference. This includes the latest ECMAScript 5, JSON (JavaScript Object Notation) and DOM (Document Object Model) specifications and implementations. You won’t find any technical jargon, bloated samples, drawn out history lessons or witty stories in this book. What you will find is a JavaScript reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any JavaScript programmer or Web developer. In JavaScript Quick Syntax Reference, you will find a concise reference to JavaScript programming language syntax; has short, simple and focused code examples; and includes a well laid out table of contents and a comprehensive index allowing easy review.