blob: 20665c2d0c1d8463a09f4f7f70c6315ee408f0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>jQuery Test</title>
<style>
.hide {display:none;}
#v {font-weight:bold;}
</style>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('p.hide').show();
$('#v').append($.fn.jquery);
});
</script>
</head>
<body>
<h1>jQuery Test</h1>
<p class="hide">If you see this, jQuery <span id="v"></span> is working.</p>
</body>
</html>
|