jQueryはGoogleなどが用意しているライブラリを呼び出すだけでも使える
index.html
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
</head>
<body>
<p><b class="target">Hello!</b></p>
<button>Animate</button>
<script>
$('button').click(function() {
/* Act on the event */
$('.target').fadeOut(1000, function() {
$(this).fadeIn(1000);
});
});
</script>
</body>
</html>