We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8432d50 commit 24aa907Copy full SHA for 24aa907
1 file changed
jQuery/jQuery-Effects/chaining.html
@@ -0,0 +1,25 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
6
+ <script>
7
+ $(document).ready(function () {
8
+ $("button").click(function () {
9
+ $("#p1").css("color", "blue")
10
+ .slideUp(2000)
11
+ .slideDown(2000);
12
+ });
13
14
+ </script>
15
+</head>
16
17
+<body>
18
19
+ <p id="p1">jQuery is fun!!</p>
20
21
+ <button>Click me</button>
22
23
+</body>
24
25
+</html>
0 commit comments