JavaScript Basics of JavaScript tips

Source: Internet
Author: User
Tags version client
Javascript| Tips

What is a JavaScript language?

JavaScript is a new descriptive language that can be clamped into HTML files, which can be used to respond to user demand events (such as form input) without transmitting data back and forth from any network, so when a user enters a data, It can be processed directly by client applications without being processed by the server and then passed back. You can also imagine that there is an executable program that executes on your client side. There are already some written programs on the Internet that you can go over to see.

JavaScript is similar to Java, but it's not the same. Java is a much more complex and many programming language than JavaScript. JavaScript is a language that is fairly easy to understand.

Ii. How to implement Javescript

NETSCAPE2.0BETA3 version above, you can perform the functions of JavaScript. We have tested at least beta3 version of the above can. So far, except for Netscape, there seems to be no other kind of www browser that has this feature.

Here's a few examples to show you how to write JavaScript in an HTML file and experience the characteristics of a new language. Let's start with the first example, how to print a string of text into an HTML file with JavaScript.

myfirstjavascript!
This isanormal HTML document.
document.write ("This is printed in JavaScript!")
Backinhtmlagain.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.