By Chuck Easttom

ISBN-10: 155622852X

ISBN-13: 9781556228520

Specializes in professional-level JavaScript concepts, together with the newest advancements.

Show description

Read Online or Download Advanced Javascript, 2E PDF

Best programming: programming languages books

Read e-book online PHP.A.BEGINNERS.GUIDE.Oct.2008.ISBN 0071549013-o PDF

McGraw. Hill. Osborne. Media. Hypertext Preprocessor. A. novices. advisor. Oct. 2008. ISBN 0071549013-o

Additional resources for Advanced Javascript, 2E

Sample text

We will cover the most important implementations of the language in this book. JavaScript and Java JavaScript Resembles Java JavaScript supports most of Java’s expression syntax and basic control flow constructs. Take a look at the following JavaScript code segment: for (var i = 0; i < 10; ++i) { /* statements come here */ } Now take a look at the Java equivalent: for (int i = 0; i < 10; ++i) { /* statements come here */ } Notice the similarity. The only difference is the variable declaration (JavaScript is loosely typed).

Every statement you put between the two tags is interpreted as JavaScript code. This is probably the most common method for inserting JavaScript into HTML documents. The LANGUAGE attribute is used to specify the scripting language. At present, the