Home >Web Front-end >JS Tutorial >The first day of crazy Jquery (Jquery study notes)_jquery

The first day of crazy Jquery (Jquery study notes)_jquery

WBOY
WBOYOriginal
2016-05-16 17:53:531437browse

Ok, let’s start my first day with Jquery.
I also started with Hello wrod!. I just mentioned the reference to jquery in one go. As follows:

Copy code The code is as follows:


jquery chain operation







Next let’s look at a complex example, This example lets us know what is: jquery's chain operation.
I use . to connect jquery's chain operation.
Some people may have just started to learn query and it seems unfamiliar. I will explain it one by one in the crazy Jquery later. Slowly you will understand.
Copy code The code is as follows:



Jquery chain operation

< ;style type="text/css">
#menu {width:300px}
.has_children {
background:#555;color:#fff;cursor:pointer;
}
.highligt{color:#fff;background:green;}
div{padding:0;margin:0px;}
div a {
background:#888;display:none;float:left; width:300px;
}




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn