Tutorial for learning JavaScript / PDF


Tutorial for learning JavaScript / PDF
Tutorial for learning JavaScript / PDF






Table of Contents



History of JavaScript.
Why Use JavaScript.
JavaScript vs. Java.
What Can You Do with JavaScript
Scripting in JavaScript
Tools You Need
Copying JavaScript Code
Document Object Model (DOM)
Objects.
Properties.
Methods.
Events.
Event Handlers
Browser Incompatibilities.
Debugging in JavaScript
Links to JavaScript Resources on the Web



-----------------------------

Sample of the PDF document 





What Is JavaScript

JavaScript is a simple, relatively easy to use programming language for Web pages. It gives you a way to add interactivity to your Web pages. With JavaScript you can transform your Web pages from static displays to pages that react to and process information from those who view your pages. JavaScript does not require a lot of programming skill on your part to get started. You can pick up the basics of JavaScript in a short time.

History of JavaScript
JavaScript was released by Netscape in 1995 under the name LiveScript. Netscape’s purpose for developing LiveScript was to extend the capabilities of static HTML pages and to offload data processing from busy Web servers onto local computers running Web browsers. After JAVA was released by Sun Microsystems and gained recognition, the name LiveScript was changed to JavaScript.

Microsoft recognized the importance of JavaScript and entered the arena with two creations, JScript and VBscript. JScript is roughly compatible with JavaScript. VBscript is a subset of Visual Basic.

These competing languages have created problems for Web developers. Microsoft, Netscape, and others finally agreed to support a vendor-neutral standard. The European Computer Manufacturers Association (ECMA) produced this standard in July 1997. Today, none of thelanguages are 100% compliant with this standard.

Why Use JavaScript

  •  JavaScript offers a programming language for Web pages that most anyone can use.
  •  JavaScript is becoming a standard for Web page programming. This means you're more assured that your work will not soon disappear. There are thousands of Web sites that use JavaScript today.
  •  JavaScript makes your Web pages come alive by responding to things a user does on your pages.
  •  JavaScript is ideal for Form Validation. Sometimes you may want your users to enter a specific type of data (e.g. a phone number) into a form field. If it’s important that this data c.......





Download Tutorial for learning JavaScript / PDF




 Tutorial for learning JavaScript / PDF



0 commentaires: