Jquery tutorial (learn jquery in seven days) (1/18)

Source: Internet
Author: User

Jquery tutorial (learn jquery in seven days)

Homepage
Jquery online help manual
Http://www.bKjia. c0m/jquery/
Jquery manual download
Http://down.bKjia. c0m/down/help/jquery/index.html

This article is the first jquery tutorial, if you are not familiar with this ajax framework, please first look at the http://www.bKjia. c0m/ajax-framework/

Window. onload () is a tough guy in traditional webpage special effects.

It has long been used by programmers as a shortcut to solve the problem of loading client pages as soon as possible.

But sometimes it is not fast enough to wait for the page to load.

Only a few large image files are quickly loaded, while most large image files make window. onload () Loading very slow. So when I create a web application for my recent online marketing, I have to make it faster. Some new research on window. onload () (such as brother cake) code is a fast method. If you need it, try it.

But if you want to program dom (Document Object Model) javascript, why don't you try jquery? It's like making a cake yourself and tasting it.

Jquery has a handy small function that can be used as a dom to quickly load javascript, that is, ready... It is executed after the page is loaded.

$ (Document). ready (function (){
// Your code here...
}); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

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.