I've been trying to follow the tutorials for the simple things and
they aren't working. This is just a short snippet:

<script type="text/javascript" src="jquery-1.1.4.js"></script>
<script type="text/javascript">
$(document).ready(function(){
   $("a").click(function(){
   alert("Thanks for visiting!");
        });
 });
</script>
</head>

<body>
<a href="#">Click</a>
</body>

But I just get an error in firebug '$ is not defined" on line $
(document).ready(function(){

I've been using mootools because I was daunted looking at jQuery, but
thought I'd give it a try.

Reply via email to