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