1. OverviewJquery is a very good JS library. Compared with many JS class libraries such as prototype, Yui, and mootools, it is a powerful tool, starting from the practical point of view of web development, aside from some other useless items in Lib,
JQuery fragment (1) Basics: select the elements to be operated, process DOM elements, and jquery Fragment
1. Basics
Jquery object set:$ (): Jquery object setObtain the elements in the jquery object set:Use the index to obtain the javascript element
Document directory
Index in the element: $ ("# More-Info "). index ("H3") New. the has () method (has document, commit) is equivalent to the has () filter in the selector. It obtains a jquery set and returns elements containing the specified
1.jquerybasic syntax ·=chainprogramming example ("=nvidiv1"=#.show(=.css (& quot; color & quot;: & quot; red & quot;) & middot; use a ready event as the start to process HTML documents. $ (document ). ready (function () {// write your
Conversion from: All sources are available :-) Jquery plugin (2)
++ ++
Navigation
++ ++
Jquery Plugin: TreeviewThis plug-in can convert unordered lists into a tree that can be expanded and shrunk.
Jquery Plugin: Treeview
Fastfind menu
Attribute:
$ ("P"). addclass (
CSS Style defined in
Class Type); add a style to an element
$ ("IMG"). ATTR ({SRC: ”test.jpg ", alt:" test image "}); add attributes/values to an element. The parameter is map.
((”Img”).attr("”src”, ”test.jpg ");
Python crawls the JQuery course of w3shcool and stores it locally.
Recently, I am busy looking for a job. In my spare time, I am also looking for crawlers to practice, write code, and know that I am a newbie. But I need to do more exercises. Shushan
Introduction to jquery (1) Universal selector in jqueryIntroduction to jquery (2) using jquery to manipulate the attributes and styles of elementsIntroduction to jquery (3) Event and event objectIntroduction to jquery (4) Ajax () application in
Python crawls the JQuery course of w3shcool and saves it to the local machine.
Recently, I am busy looking for a job. In my spare time, I am also looking for crawlers to practice, write code, and know that I am a newbie. But I need to do more
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.