-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery1.html
More file actions
23 lines (21 loc) · 862 Bytes
/
Copy pathjquery1.html
File metadata and controls
23 lines (21 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<title>Jquery</title>
</head>
<body>
<h3 id="head">Welcome to Jquery Session</h3>
<br>
<button id="btn" onclick="fade()">Click Here</button>
</body>
<!--script src="JS/jquery.js"></script-->
<script src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"></script>
<!--The above line of code is used from the CDN (Content Delivery Netwrok). Using the above line of code
Jquery is being called from the server and is accessiable only when the system is connected to the network-->
<script>
function fade()
{
// alert(); alert was called in to check wether function is working or not
$("#head").fadeToggle(2000);
}
</script>
</html>