Javascript| Beginners
JavaScript is a descriptive language that can be embedded in HTML files. JavaScript can be used to respond to user demand events (such as form input), so that when one user enters a message, it does not need to be sent over the network to the server to handle the process of return, but can directly on the client to deal with the event. You can also imagine that there is an executable program that executes on your client (but the execution is limited, and it has very poor control over the client computer)!
JavaScript and Java are very similar, but they are completely different languages! Java is an object-oriented programming language developed by Sun Microsystem, similar to C + +, which requires a variety of compilers and supporting files to run, but unlike C + +, Java can be independent of any operating platform, so it is on the Internet today Network of various operating platforms on the basis of rapid development. But it is a much more complex standard programming language than JavaScript. JavaScript is a relatively easy to understand functional language, JavaScript creators can be less focused on programming skills, such as declaring all variables, classes and methods, you do not have to care about such as public, private or protected, such as inexplicable things; More importantly, it can only exist in an HTML script and can only run when a compatible browser is loaded, so many Java features are not supported in JavaScript. Now, JavaScript is divided into three categories: core, client, and server-side JavaScript, and I only cover the client's JavaScript 1.3 in this tutorial, which is completely compatible with the ECMA-262 standard (the JavaScript standard of the European Computer Manufacturers Association); For more information, see Netscape's Introduction to Netscape JavaScript (Microsoft also has a variant of JavaScript, called JScript, which I'll introduce later). There are already a lot of written JavaScript code on the Internet for your reference, and this site will continue to refine and develop it.
An applet is a small program that requires compilation to execute. is a class.