I am trying to do a simple jQuery tutorial, but it won't work.
<html>
<head>
<title></title>
<script type="text/javascript" src="jquery-1.3.2.js">
$(function() {
$('a').click(function() {
$('#box').fadeOut();
});
});
</script>
<style type="text/css">
#box
{ background: red;
width: 300px;
height: 300px;
}
</style>
</head>
<body>
<div id="box" ></div>
<a href="#">Click Me</a>
</body>
</html>
I have copied and pasted the jquery filename: jquery-1.3.2
I can't see what is wrong? I am using Firefox.