JavaScript Reference Tutorials
This tutorial provides a more complete primer for readers who are not exposed to JavaScript, but is limited to the basics: all JavaScript closely related to dynamic Web pages is not mentioned in this tutorial, including dynamic positioning, animating, and getting documents to receive more events ( Document.captureevent ()); All of the different JavaScript in IE and Netscape are rarely mentioned.
The structure of this tutorial is more like a reference (reference), with a reference to the planning, but also the nature of the tutorial, so I call it "reference tutorial."
This tutorial is not intended for readers who are not even good at HTML. The content of HTML is mentioned more than once in this tutorial, and there is no explanation for these HTML knowledge.
Readers who have not touched JavaScript should have a deep grasp of javascript after reading this tutorial.
Readers who have access to JavaScript can use this tutorial as a reference.
This tutorial on the basis of JavaScript has a more detailed narration, such as objects, events, such as more in-depth knowledge of the more simple, type such as reference. If the reader has a certain understanding and digestion ability, I believe that after mastering the basic part, in the study of advanced chapters will not encounter any difficulties. The reference structure used in this tutorial makes the tutorials look uniform-when you tell a statement, there is no mention of any knowledge outside the statement, and there is no mention of any knowledge other than the object when you are talking about the object. If you want to learn JavaScript quickly, you may want to master the "jump-chapter learning" approach.
On the left you can see the entire structure tree of this tutorial. You can see a total of 5 chapters, the first two chapters are basic knowledge, the third chapter fourth is advanced knowledge-object, the fifth chapter is for two objects-framework and cookies for detailed explanation, as the third chapter fourth content supplement.
Readers who are poorly understood or dependent may learn the core of JavaScript--object-oriented programming will feel powerless because they are not accustomed to this reference article; Eager readers may be disgusted with the very unified reference structure of this tutorial, Because they have to learn the third chapter fourth to be able to do a little JavaScript.
This tutorial lacks examples. Readers must have a strong "savvy" and are willing to practice themselves, can be a good grasp of JavaScript.
The author of this tutorial micro. Is this one, great? In addition to me, there are two JavaScript books, one is a JS 1.1 tutorial, but this tutorial is a short book to be borrowed by others, the other is a very shallow reference, if copied, we will not understand what to say. There are two more browsers to practice with, as well as an English version of JavaScript references, tutorials, from MSDN and Netscape. There is also a brain, two hands, a computer ...
What are the features of JavaScript?
JavaScript makes Web pages more interactive. JavaScript simplifies regular, repetitive HTML paragraphs and reduces download time. JavaScript can respond to the user's actions in a timely manner, do a real-time check on the submission form without wasting time with CGI validation. The features of JavaScript are endless, as long as you are creative.
What is the difference between Java and JavaScript
Many people see Java and JavaScript have "Java" four words, think they are the same thing, even I was the same. In fact, they are two completely different kinds of things. Java, the full name should be Java applet, is embedded in the Web page, but also has its own independent run window applet. Java applets are precompiled, and an applet file (. Class) opens reading in Notepad, which is simply incomprehensible. Java applets are powerful, with access to protocols such as HTTP, FTP, and even viruses on the computer (there is a precedent). In contrast, JavaScript is less capable. JavaScript is a "script" that writes code directly into an HTML document that the browser compiles and executes when it reads them, so you can view the JavaScript source code by viewing the HTML source file. JavaScript does not have a separate running window, and the browser's current window is its running window. The similarities, I think, are just the same as programming languages in Java.
What software should be used to develop JavaScript
A JavaScript program is actually a document, a text file. It is embedded in an HTML document. So any software that can write HTML documents can be used to develop JavaScript. Here I recommend that you use FrontPage 2000 with the Microsoft Script Editor (in FrontPage menu | tools | macros | Microsoft Script Editor). It is a program developer like Visual Basic/c++, which can give a brief hint of the statement being entered. With FrontPage 2000, the workload is greatly reduced.