Newbie Please Help I cant get any jQuery to work...

Newbie Please Help I cant get any jQuery to work...

Hey Everyone.

I am very new to jquery and have been trying to learn and understand everything. I have followed the beginner tutorials on the jquery site and several others very closely and have done everything exactly the same.

My issue is i cant get anything to work. not even simple things. This is very frustrating and have been puling my hair out trying to figure out whats wrong.

attached is my code for a test page with a simple fadeOut for reference along with the link for the live page . http://ianculley.com/test

thanks in advance.

Hope someone could shed some light on this...


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>

<script src="jquery-1.3.2.min.js" type="text/javascript"></script>


<style type="text/css">
<!--
#box {
   height: 300px;
   width: 300px;
   background-color: #FF0000;
}
-->
</style>

<script type="text/javascript">

   $(funtion() {
   
      $('a').click() {
      
         $('#box').fadeOut();
         
      });
   });


</script>
</head>


<body>
<div id="box"></div>
<p><a href="#">Click Me!</a>
</p>
</body>
</html>