Javascript,jquery Basic Knowledge

Source: Internet
Author: User

    1. JavaScript Basics: JavaScript is a programming language that can be embedded in HTML code and executed directly by a browser.

    2. Jquery:jquery is an excellent JavaScript library that can greatly simplify the complexity of using JavaScript in everyday life.

    3. The jquery ui:jquery UI is an open source JavaScript Web user interface code base based on jquery.

    4. jquery Mobile:jquery Mobile is a version of jquery on mobile phones and tablet devices.


I. Client (browser) JavaScript functionality (founded by Netscape in 95):

    1. Embed dynamic text HTML pages

    2. Responding to browser events

    3. Read and write HTML elements

    4. Validating data before data is committed to the server

    5. Detecting Visitor's browser information

    6. Controlling Cookie Information


Two. What is jquery

jquery is a JavaScript library, the core idea is write less,do more (write less, do more), what is the JavaScript library? We can think of it as a collection of commonly used functions written in JavaScript, and we can use it simply and easily to accomplish quite powerful functions, greatly simplifying the complexity of our use of JavaScript!


Three. Why Use JavaScript libraries

The direct use of JavaScript in the completion of the required functionality, it may require very large amount of code, the most important thing is because different browsers on some features of the implementation details inconsistent, resulting in our writing JavaScript code processing page elements need to specifically consider the various browser compatibility issues, It is a waste of time for developers! JavaScript libraries (such as jquery) have helped us solve compatibility problems, and simplifying some of the complex operations can greatly facilitate our writing code complexity, greatly improving our development efficiency!


Four. What jquery can do

    1. Easy access to elements in documents

    2. Easily modify the appearance of a page

    3. Easily change the contents of a document

    4. Easily respond to user interactions

    5. Easily add dynamic effects to a page

    6. Easily use Ajax for information from the server without refreshing

    7. Simplify common JavaScript tasks


Five. Server-side JavaScript

Since the birth of JavaScript, its status in the client (browser) gradually developed strong, become the overlord of the client, in fact, JavaScript can also run on the server side (running on the server side of the purpose and the purpose of the client is completely different, running in a different way!) In 96, Netscape launched its server-side JavaScript, but its influence was far less than that of the client's JavaScript, so the concept quickly receded, Until today, the server's JavaScript, such as node. js, is emerging, but still far less dominant than JavaScript in the client!

This article is from the "Technology Heaven" blog, so be sure to keep this source http://jonhson.blog.51cto.com/10559861/1688141

Javascript,jquery Basic Knowledge

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.