"JavaScript" Learning Notes one: JavaScript introduction __java

Source: Internet
Author: User
Why is it called JavaScript?

The reason is that the Java language is very hot, so I want to use the popularity of Java to promote, but in fact JavaScript in addition to the syntax is a bit like Java, the rest of the other part of the basic relationship. ECMA Script

To make JavaScript a global standard, several companies combined ECMA (European Computer Manufacturers Association) have customized the JavaScript language standard, known as the ECMAScript standard The purpose of using JS

Add some response effects to the original static Web page method of referencing JS

1. Referencing inside HTML

 

2. Generate a separate. js file

For example, my HTML would like to refer to the jquery file under my Engineering folder:


<! DOCTYPE html>
how to debug JS

The most common debugging is to use Google browser Chrome F12, console mode, you can enter the corresponding JS statement to see the code execution results, or breakpoints, single-step execution and other advanced debugging techniques


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.